Guest User

Untitled

a guest
Jan 22nd, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 92.21 KB | None | 0 0
  1. ("--- Tess_StageIteratorGBuffer( %s, %i vertices, %i triangles ) ---\n", tess.surfaceShader->name,
  2. ^
  3. rendererGL3/tr_shade.cpp:5094:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  4. ("--- Tess_StageIteratorGBufferNormalsOnly( %s, %i vertices, %i triangles ) ---\n", tess.surfaceShader->name,
  5. ^
  6. rendererGL3/tr_shade.cpp:5194:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  7. ("--- Tess_StageIteratorDepthFill( %s, %i vertices, %i triangles ) ---\n", tess.surfaceShader->name,
  8. ^
  9. rendererGL3/tr_shade.cpp:5279:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  10. ("--- Tess_StageIteratorShadowFill( %s, %i vertices, %i triangles ) ---\n", tess.surfaceShader->name,
  11. ^
  12. rendererGL3/tr_shade.cpp:5363:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  13. ("--- Tess_StageIteratorLighting( %s, %s, %i vertices, %i triangles ) ---\n", tess.surfaceShader->name,
  14. ^
  15. rendererGL3/tr_shade.cpp:5541:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  16. GLimp_LogComment("--- Tess_End ---\n");
  17. ^
  18. rendererGL3/tr_shade.cpp:802:13: warning: unused function 'GLSL_InitGPUShader' [-Wunused-function]
  19. static void GLSL_InitGPUShader(shaderProgram_t * program, const char *name, int attribs, qboolean fragmentShader, qboolean optimize)
  20. ^
  21. rendererGL3/tr_shade.cpp:4155:13: warning: unused function 'Render_volumetricFog' [-Wunused-function]
  22. static void Render_volumetricFog()
  23. ^
  24. rendererGL3/tr_shade.cpp:4602:13: warning: unused function 'SetIteratorFog' [-Wunused-function]
  25. static void SetIteratorFog()
  26. ^
  27. 103 warnings generated.
  28. gl_shader.cpp
  29. In file included from rendererGL3/gl_shader.cpp:24:
  30. In file included from rendererGL3/gl_shader.h:29:
  31. rendererGL3/tr_local.h:1619:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  32. GLimp_LogComment(va("--- GLSL_SetUniformAlphaTest( program = %s, value = %i ) ---\n", program->name, value));
  33. ^
  34. rendererGL3/tr_local.h:1645:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  35. GLimp_LogComment(va("--- GLSL_SetUniform_ViewOrigin( program = %s, viewOrigin = ( %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2]));
  36. ^
  37. rendererGL3/tr_local.h:1667:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  38. GLimp_LogComment(va("--- GLSL_SetUniform_Color( program = %s, color = ( %5.3f, %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2], v[3]));
  39. ^
  40. rendererGL3/tr_local.h:1686:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  41. GLimp_LogComment(va("--- GLSL_SetUniform_ColorModulate( program = %s, color = ( %5.3f, %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2], v[3]));
  42. ^
  43. rendererGL3/tr_local.h:1705:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  44. GLimp_LogComment(va("--- GLSL_SetUniform_AmbientColor( program = %s, color = ( %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2]));
  45. ^
  46. rendererGL3/tr_local.h:1724:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  47. GLimp_LogComment(va("--- GLSL_SetUniform_LightDir( program = %s, direction = ( %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2]));
  48. ^
  49. rendererGL3/tr_local.h:1743:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  50. GLimp_LogComment(va("--- GLSL_SetUniform_LightOrigin( program = %s, origin = ( %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2]));
  51. ^
  52. rendererGL3/tr_local.h:1762:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  53. GLimp_LogComment(va("--- GLSL_SetUniform_LightColor( program = %s, color = ( %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2]));
  54. ^
  55. rendererGL3/tr_local.h:1781:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  56. GLimp_LogComment(va("--- GLSL_SetUniform_LightRadius( program = %s, value = %f ) ---\n", program->name, value));
  57. ^
  58. rendererGL3/tr_local.h:1800:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  59. GLimp_LogComment(va("--- GLSL_SetUniform_LightParallel( program = %s, value = %i ) ---\n", program->name, value));
  60. ^
  61. rendererGL3/tr_local.h:1827:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  62. GLimp_LogComment(va("--- GLSL_SetUniform_LightScale( program = %s, value = %f ) ---\n", program->name, value));
  63. ^
  64. rendererGL3/tr_local.h:1846:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  65. GLimp_LogComment(va("--- GLSL_SetUniform_LightWrapAround( program = %s, value = %f ) ---\n", program->name, value));
  66. ^
  67. rendererGL3/tr_local.h:1884:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  68. GLimp_LogComment(va("--- GLSL_SetUniform_ShadowMatrix( program = %s, "
  69. ^
  70. rendererGL3/tr_local.h:1915:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  71. GLimp_LogComment(va("--- GLSL_SetUniform_ShadowCompare( program = %s, value = %i ) ---\n", program->name, value));
  72. ^
  73. rendererGL3/tr_local.h:1934:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  74. GLimp_LogComment(va("--- GLSL_SetUniform_ShadowTexelSize( program = %s, value = %f ) ---\n", program->name, value));
  75. ^
  76. rendererGL3/tr_local.h:1953:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  77. GLimp_LogComment(va("--- GLSL_SetUniform_ShadowBlur( program = %s, value = %f ) ---\n", program->name, value));
  78. ^
  79. rendererGL3/tr_local.h:1972:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  80. GLimp_LogComment(va("--- GLSL_SetUniform_ShadowParallelSplitDistances( program = %s, distances = ( %5.3f, %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2], v[3]));
  81. ^
  82. rendererGL3/tr_local.h:1991:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  83. GLimp_LogComment(va("--- GLSL_SetUniform_RefractionIndex( program = %s, value = %f ) ---\n", program->name, value));
  84. ^
  85. rendererGL3/tr_local.h:2010:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  86. GLimp_LogComment(va("--- GLSL_SetUniform_ParallaxMapping( program = %s, value = %i ) ---\n", program->name, value));
  87. ^
  88. rendererGL3/tr_local.h:2029:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  89. GLimp_LogComment(va("--- GLSL_SetUniform_DepthScale( program = %s, value = %f ) ---\n", program->name, value));
  90. ^
  91. rendererGL3/tr_local.h:2048:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  92. GLimp_LogComment(va("--- GLSL_SetUniform_EnvironmentInterpolation( program = %s, value = %f ) ---\n", program->name, value));
  93. ^
  94. rendererGL3/tr_local.h:2067:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  95. GLimp_LogComment(va("--- GLSL_SetUniform_PortalClipping( program = %s, value = %i ) ---\n", program->name, value));
  96. ^
  97. rendererGL3/tr_local.h:2086:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  98. GLimp_LogComment(va("--- GLSL_SetUniform_PortalPlane( program = %s, plane = ( %5.3f, %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2], v[3]));
  99. ^
  100. rendererGL3/tr_local.h:2105:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  101. GLimp_LogComment(va("--- GLSL_SetUniform_PortalRange( program = %s, value = %f ) ---\n", program->name, value));
  102. ^
  103. rendererGL3/tr_local.h:2124:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  104. GLimp_LogComment(va("--- GLSL_SetUniform_ModelMatrix( program = %s, "
  105. ^
  106. rendererGL3/tr_local.h:2213:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  107. GLimp_LogComment(va("--- GLSL_SetUniform_ModelViewProjectionMatrix( program = %s, "
  108. ^
  109. rendererGL3/tr_local.h:2254:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  110. GLimp_LogComment(va("--- GLSL_SetUniform_VertexSkinning( program = %s, value = %i ) ---\n", program->name, value));
  111. ^
  112. rendererGL3/tr_local.h:2273:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  113. GLimp_LogComment(va("--- GLSL_SetUniform_VertexInterpolation( program = %s, value = %f ) ---\n", program->name, value));
  114. ^
  115. rendererGL3/tr_local.h:2292:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  116. GLimp_LogComment(va("--- GLSL_SetUniform_Time( program = %s, value = %f ) ---\n", program->name, value));
  117. ^
  118. In file included from rendererGL3/gl_shader.cpp:24:
  119. rendererGL3/gl_shader.h:1088:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  120. GLimp_LogComment(va("--- SetUniform_LightFrustum( program = %s, "
  121. ^
  122. rendererGL3/gl_shader.h:1537:12: warning: 15 enumeration values not handled in switch: 'DEFORM_NONE', 'DEFORM_NORMALS', 'DEFORM_PROJECTION_SHADOW'... [-Wswitch-enum]
  123. switch (ds->deformation)
  124. ^
  125. rendererGL3/gl_shader.h:1641:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  126. GLimp_LogComment(va("--- u_ColorModulate::SetUniform_ColorModulate( program = %s, colorGen = %i, alphaGen = %i ) ---\n", _shader->GetProgram()->name, colorGen, alphaGen));
  127. ^
  128. rendererGL3/gl_shader.h:1714:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  129. GLimp_LogComment(va("--- SetUniform_FogDistanceVector( program = %s, vector = ( %5.3f, %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2], v[3]));
  130. ^
  131. rendererGL3/gl_shader.h:1752:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  132. GLimp_LogComment(va("--- SetUniform_FogDepthVector( program = %s, vector = ( %5.3f, %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2], v[3]));
  133. ^
  134. rendererGL3/gl_shader.h:1790:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  135. GLimp_LogComment(va("--- SetUniform_FogEyeT( program = %s, value = %f ) ---\n", program->name, value));
  136. ^
  137. rendererGL3/gl_shader.h:1828:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  138. GLimp_LogComment(va("--- SetUniform_DeformMagnitude( program = %s, value = %f ) ---\n", program->name, value));
  139. ^
  140. rendererGL3/gl_shader.h:1867:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  141. GLimp_LogComment(va("--- SetUniform_HDRKey( program = %s, value = %f ) ---\n", program->name, value));
  142. ^
  143. rendererGL3/gl_shader.h:1904:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  144. GLimp_LogComment(va("--- SetUniform_HDRAverageLuminance( program = %s, value = %f ) ---\n", program->name, value));
  145. ^
  146. rendererGL3/gl_shader.h:1941:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  147. GLimp_LogComment(va("--- SetUniform_HDRMaxLuminance( program = %s, value = %f ) ---\n", program->name, value));
  148. ^
  149. rendererGL3/gl_shader.cpp:309:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  150. va("#ifndef r_SpecularExponent\n#define r_SpecularExponent %f\n#endif\n", r_specularExponent->value));
  151. ^
  152. rendererGL3/gl_shader.cpp:312:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  153. va("#ifndef r_SpecularExponent2\n#define r_SpecularExponent2 %f\n#endif\n", r_specularExponent2->value));
  154. ^
  155. rendererGL3/gl_shader.cpp:315:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  156. va("#ifndef r_SpecularScale\n#define r_SpecularScale %f\n#endif\n", r_specularScale->value));
  157. ^
  158. rendererGL3/gl_shader.cpp:322:49: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  159. Q_strcat(bufferExtra, sizeof(bufferExtra), va("#ifndef MAX_SHADOWMAPS\n#define MAX_SHADOWMAPS %i\n#endif\n", MAX_SHADOWMAPS));
  160. ^
  161. rendererGL3/gl_shader.cpp:324:49: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  162. Q_strcat(bufferExtra, sizeof(bufferExtra), va("#ifndef MAX_SHADER_DEFORM_PARMS\n#define MAX_SHADER_DEFORM_PARMS %i\n#endif\n", MAX_SHADER_DEFORM_PARMS));
  163. ^
  164. rendererGL3/gl_shader.cpp:327:11: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  165. va("#ifndef deform_t\n"
  166. ^
  167. rendererGL3/gl_shader.cpp:338:11: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  168. va("#ifndef genFunc_t\n"
  169. ^
  170. rendererGL3/gl_shader.cpp:398:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  171. va("#ifndef alphaTest_t\n"
  172. ^
  173. rendererGL3/gl_shader.cpp:411:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  174. va("#ifndef r_FBufScale\n#define r_FBufScale vec2(%f, %f)\n#endif\n", fbufWidthScale, fbufHeightScale));
  175. ^
  176. rendererGL3/gl_shader.cpp:424:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  177. va("#ifndef r_NPOTScale\n#define r_NPOTScale vec2(%f, %f)\n#endif\n", npotWidthScale, npotHeightScale));
  178. ^
  179. rendererGL3/gl_shader.cpp:458:10: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  180. va("#ifndef r_EVSMExponents\n#define r_EVSMExponents vec2(%f, %f)\n#endif\n", 42.0f, 42.0f));
  181. ^
  182. rendererGL3/gl_shader.cpp:487:11: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  183. va("#ifndef r_LightBleedReduction\n#define r_LightBleedReduction %f\n#endif\n",
  184. ^
  185. rendererGL3/gl_shader.cpp:494:11: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  186. va("#ifndef r_OverDarkeningFactor\n#define r_OverDarkeningFactor %f\n#endif\n",
  187. ^
  188. rendererGL3/gl_shader.cpp:501:11: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  189. va("#ifndef r_ShadowMapDepthScale\n#define r_ShadowMapDepthScale %f\n#endif\n",
  190. ^
  191. rendererGL3/gl_shader.cpp:508:11: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  192. va("#ifndef r_DebugShadowMaps\n#define r_DebugShadowMaps %i\n#endif\n", r_debugShadowMaps->integer));
  193. ^
  194. rendererGL3/gl_shader.cpp:540:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  195. va("#ifndef r_PCFSamples\n#define r_PCFSamples %1.1f\n#endif\n", r_softShadows->value + 1.0f));
  196. ^
  197. rendererGL3/gl_shader.cpp:546:11: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  198. va("#ifndef r_ParallelShadowSplits_%i\n#define r_ParallelShadowSplits_%i\n#endif\n", r_parallelShadowSplits->integer, r_parallelShadowSplits->integer));
  199. ^
  200. rendererGL3/gl_shader.cpp:570:10: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  201. va("#ifndef r_HDRContrastThreshold\n#define r_HDRContrastThreshold %f\n#endif\n",
  202. ^
  203. rendererGL3/gl_shader.cpp:574:10: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  204. va("#ifndef r_HDRContrastOffset\n#define r_HDRContrastOffset %f\n#endif\n",
  205. ^
  206. rendererGL3/gl_shader.cpp:578:10: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  207. va("#ifndef r_HDRToneMappingOperator\n#define r_HDRToneMappingOperator_%i\n#endif\n",
  208. ^
  209. rendererGL3/gl_shader.cpp:582:10: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  210. va("#ifndef r_HDRGamma\n#define r_HDRGamma %f\n#endif\n",
  211. ^
  212. rendererGL3/gl_shader.cpp:641:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  213. va("#ifndef MAX_GLSL_BONES\n#define MAX_GLSL_BONES %i\n#endif\n", glConfig2.maxVertexSkinningBones));
  214. ^
  215. rendererGL3/gl_shader.cpp:646:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  216. va("#ifndef MAX_GLSL_BONES\n#define MAX_GLSL_BONES %i\n#endif\n", 4));
  217. ^
  218. rendererGL3/gl_shader.cpp:670:12: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  219. va("#ifndef r_WrapAroundLighting\n#define r_WrapAroundLighting %f\n#endif\n",
  220. ^
  221. rendererGL3/gl_shader.cpp:683:50: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  222. Q_strcat(bufferExtra, sizeof(bufferExtra), va("#ifndef r_RimExponent\n#define r_RimExponent %f\n#endif\n",
  223. ^
  224. rendererGL3/gl_shader.cpp:877:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  225. macrosString += va("#ifndef %s\n#define %s 1\n#endif\n", token, token);
  226. ^
  227. rendererGL3/gl_shader.cpp:1208:3: warning: base class 'u_Color' will be initialized after base 'u_ModelMatrix' [-Wreorder]
  228. u_Color(this),
  229. ^
  230. rendererGL3/gl_shader.cpp:2543:3: warning: base class 'u_Color' will be initialized after base 'u_ModelMatrix' [-Wreorder]
  231. u_Color(this),
  232. ^
  233. rendererGL3/gl_shader.cpp:2822:3: warning: base class 'u_Color' will be initialized after base 'u_ModelMatrix' [-Wreorder]
  234. u_Color(this),
  235. ^
  236. rendererGL3/gl_shader.cpp:2921:3: warning: base class 'u_Color' will be initialized after base 'u_ViewMatrix' [-Wreorder]
  237. u_Color(this),
  238. ^
  239. rendererGL3/gl_shader.cpp:3010:3: warning: base class 'u_Color' will be initialized after base 'u_ModelMatrix' [-Wreorder]
  240. u_Color(this),
  241. ^
  242. 70 warnings generated.
  243. tr_backend.cpp
  244. In file included from rendererGL3/tr_backend.cpp:25:
  245. rendererGL3/tr_local.h:1619:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  246. GLimp_LogComment(va("--- GLSL_SetUniformAlphaTest( program = %s, value = %i ) ---\n", program->name, value));
  247. ^
  248. rendererGL3/tr_local.h:1645:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  249. GLimp_LogComment(va("--- GLSL_SetUniform_ViewOrigin( program = %s, viewOrigin = ( %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2]));
  250. ^
  251. rendererGL3/tr_local.h:1667:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  252. GLimp_LogComment(va("--- GLSL_SetUniform_Color( program = %s, color = ( %5.3f, %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2], v[3]));
  253. ^
  254. rendererGL3/tr_local.h:1686:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  255. GLimp_LogComment(va("--- GLSL_SetUniform_ColorModulate( program = %s, color = ( %5.3f, %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2], v[3]));
  256. ^
  257. rendererGL3/tr_local.h:1705:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  258. GLimp_LogComment(va("--- GLSL_SetUniform_AmbientColor( program = %s, color = ( %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2]));
  259. ^
  260. rendererGL3/tr_local.h:1724:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  261. GLimp_LogComment(va("--- GLSL_SetUniform_LightDir( program = %s, direction = ( %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2]));
  262. ^
  263. rendererGL3/tr_local.h:1743:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  264. GLimp_LogComment(va("--- GLSL_SetUniform_LightOrigin( program = %s, origin = ( %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2]));
  265. ^
  266. rendererGL3/tr_local.h:1762:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  267. GLimp_LogComment(va("--- GLSL_SetUniform_LightColor( program = %s, color = ( %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2]));
  268. ^
  269. rendererGL3/tr_local.h:1781:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  270. GLimp_LogComment(va("--- GLSL_SetUniform_LightRadius( program = %s, value = %f ) ---\n", program->name, value));
  271. ^
  272. rendererGL3/tr_local.h:1800:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  273. GLimp_LogComment(va("--- GLSL_SetUniform_LightParallel( program = %s, value = %i ) ---\n", program->name, value));
  274. ^
  275. rendererGL3/tr_local.h:1827:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  276. GLimp_LogComment(va("--- GLSL_SetUniform_LightScale( program = %s, value = %f ) ---\n", program->name, value));
  277. ^
  278. rendererGL3/tr_local.h:1846:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  279. GLimp_LogComment(va("--- GLSL_SetUniform_LightWrapAround( program = %s, value = %f ) ---\n", program->name, value));
  280. ^
  281. rendererGL3/tr_local.h:1884:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  282. GLimp_LogComment(va("--- GLSL_SetUniform_ShadowMatrix( program = %s, "
  283. ^
  284. rendererGL3/tr_local.h:1915:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  285. GLimp_LogComment(va("--- GLSL_SetUniform_ShadowCompare( program = %s, value = %i ) ---\n", program->name, value));
  286. ^
  287. rendererGL3/tr_local.h:1934:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  288. GLimp_LogComment(va("--- GLSL_SetUniform_ShadowTexelSize( program = %s, value = %f ) ---\n", program->name, value));
  289. ^
  290. rendererGL3/tr_local.h:1953:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  291. GLimp_LogComment(va("--- GLSL_SetUniform_ShadowBlur( program = %s, value = %f ) ---\n", program->name, value));
  292. ^
  293. rendererGL3/tr_local.h:1972:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  294. GLimp_LogComment(va("--- GLSL_SetUniform_ShadowParallelSplitDistances( program = %s, distances = ( %5.3f, %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2], v[3]));
  295. ^
  296. rendererGL3/tr_local.h:1991:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  297. GLimp_LogComment(va("--- GLSL_SetUniform_RefractionIndex( program = %s, value = %f ) ---\n", program->name, value));
  298. ^
  299. rendererGL3/tr_local.h:2010:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  300. GLimp_LogComment(va("--- GLSL_SetUniform_ParallaxMapping( program = %s, value = %i ) ---\n", program->name, value));
  301. ^
  302. rendererGL3/tr_local.h:2029:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  303. GLimp_LogComment(va("--- GLSL_SetUniform_DepthScale( program = %s, value = %f ) ---\n", program->name, value));
  304. ^
  305. rendererGL3/tr_local.h:2048:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  306. GLimp_LogComment(va("--- GLSL_SetUniform_EnvironmentInterpolation( program = %s, value = %f ) ---\n", program->name, value));
  307. ^
  308. rendererGL3/tr_local.h:2067:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  309. GLimp_LogComment(va("--- GLSL_SetUniform_PortalClipping( program = %s, value = %i ) ---\n", program->name, value));
  310. ^
  311. rendererGL3/tr_local.h:2086:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  312. GLimp_LogComment(va("--- GLSL_SetUniform_PortalPlane( program = %s, plane = ( %5.3f, %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2], v[3]));
  313. ^
  314. rendererGL3/tr_local.h:2105:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  315. GLimp_LogComment(va("--- GLSL_SetUniform_PortalRange( program = %s, value = %f ) ---\n", program->name, value));
  316. ^
  317. rendererGL3/tr_local.h:2124:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  318. GLimp_LogComment(va("--- GLSL_SetUniform_ModelMatrix( program = %s, "
  319. ^
  320. rendererGL3/tr_local.h:2213:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  321. GLimp_LogComment(va("--- GLSL_SetUniform_ModelViewProjectionMatrix( program = %s, "
  322. ^
  323. rendererGL3/tr_local.h:2254:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  324. GLimp_LogComment(va("--- GLSL_SetUniform_VertexSkinning( program = %s, value = %i ) ---\n", program->name, value));
  325. ^
  326. rendererGL3/tr_local.h:2273:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  327. GLimp_LogComment(va("--- GLSL_SetUniform_VertexInterpolation( program = %s, value = %f ) ---\n", program->name, value));
  328. ^
  329. rendererGL3/tr_local.h:2292:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  330. GLimp_LogComment(va("--- GLSL_SetUniform_Time( program = %s, value = %f ) ---\n", program->name, value));
  331. ^
  332. In file included from rendererGL3/tr_backend.cpp:26:
  333. rendererGL3/gl_shader.h:1088:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  334. GLimp_LogComment(va("--- SetUniform_LightFrustum( program = %s, "
  335. ^
  336. rendererGL3/gl_shader.h:1537:12: warning: 15 enumeration values not handled in switch: 'DEFORM_NONE', 'DEFORM_NORMALS', 'DEFORM_PROJECTION_SHADOW'... [-Wswitch-enum]
  337. switch (ds->deformation)
  338. ^
  339. rendererGL3/gl_shader.h:1641:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  340. GLimp_LogComment(va("--- u_ColorModulate::SetUniform_ColorModulate( program = %s, colorGen = %i, alphaGen = %i ) ---\n", _shader->GetProgram()->name, colorGen, alphaGen));
  341. ^
  342. rendererGL3/gl_shader.h:1714:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  343. GLimp_LogComment(va("--- SetUniform_FogDistanceVector( program = %s, vector = ( %5.3f, %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2], v[3]));
  344. ^
  345. rendererGL3/gl_shader.h:1752:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  346. GLimp_LogComment(va("--- SetUniform_FogDepthVector( program = %s, vector = ( %5.3f, %5.3f, %5.3f, %5.3f ) ) ---\n", program->name, v[0], v[1], v[2], v[3]));
  347. ^
  348. rendererGL3/gl_shader.h:1790:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  349. GLimp_LogComment(va("--- SetUniform_FogEyeT( program = %s, value = %f ) ---\n", program->name, value));
  350. ^
  351. rendererGL3/gl_shader.h:1828:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  352. GLimp_LogComment(va("--- SetUniform_DeformMagnitude( program = %s, value = %f ) ---\n", program->name, value));
  353. ^
  354. rendererGL3/gl_shader.h:1867:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  355. GLimp_LogComment(va("--- SetUniform_HDRKey( program = %s, value = %f ) ---\n", program->name, value));
  356. ^
  357. rendererGL3/gl_shader.h:1904:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  358. GLimp_LogComment(va("--- SetUniform_HDRAverageLuminance( program = %s, value = %f ) ---\n", program->name, value));
  359. ^
  360. rendererGL3/gl_shader.h:1941:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  361. GLimp_LogComment(va("--- SetUniform_HDRMaxLuminance( program = %s, value = %f ) ---\n", program->name, value));
  362. ^
  363. rendererGL3/tr_backend.cpp:46:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  364. GLimp_LogComment(va("--- GL_Bind( %s ) ---\n", image->name));
  365. ^
  366. rendererGL3/tr_backend.cpp:68:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  367. GLimp_LogComment("--- GL_Unbind() ---\n");
  368. ^
  369. rendererGL3/tr_backend.cpp:115:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  370. GLimp_LogComment(va("--- GL_TextureFilter( %s ) ---\n", image->name));
  371. ^
  372. rendererGL3/tr_backend.cpp:162:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  373. GLimp_LogComment(va("--- GL_BindProgram( name = '%s', macros = '%s' ) ---\n", program->name, program->compileMacros));
  374. ^
  375. rendererGL3/tr_backend.cpp:176:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  376. GLimp_LogComment("--- GL_BindNullProgram ---\n");
  377. ^
  378. rendererGL3/tr_backend.cpp:199:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  379. GLimp_LogComment(va("glActiveTextureARB( GL_TEXTURE%i_ARB )\n", unit));
  380. ^
  381. rendererGL3/tr_backend.cpp:729:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  382. GLimp_LogComment("glEnableVertexAttribArrayARB( ATTR_INDEX_POSITION )\n");
  383. ^
  384. rendererGL3/tr_backend.cpp:737:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  385. GLimp_LogComment("glDisableVertexAttribArrayARB( ATTR_INDEX_POSITION )\n");
  386. ^
  387. rendererGL3/tr_backend.cpp:749:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  388. GLimp_LogComment("glEnableVertexAttribArrayARB( ATTR_INDEX_TEXCOORD )\n");
  389. ^
  390. rendererGL3/tr_backend.cpp:757:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  391. GLimp_LogComment("glDisableVertexAttribArrayARB( ATTR_INDEX_TEXCOORD )\n");
  392. ^
  393. rendererGL3/tr_backend.cpp:769:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  394. GLimp_LogComment("glEnableVertexAttribArrayARB( ATTR_INDEX_LIGHTCOORD )\n");
  395. ^
  396. rendererGL3/tr_backend.cpp:777:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  397. GLimp_LogComment("glDisableVertexAttribArrayARB( ATTR_INDEX_LIGHTCOORD )\n");
  398. ^
  399. rendererGL3/tr_backend.cpp:789:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  400. GLimp_LogComment("glEnableVertexAttribArrayARB( ATTR_INDEX_TANGENT )\n");
  401. ^
  402. rendererGL3/tr_backend.cpp:797:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  403. GLimp_LogComment("glDisableVertexAttribArrayARB( ATTR_INDEX_TANGENT )\n");
  404. ^
  405. rendererGL3/tr_backend.cpp:809:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  406. GLimp_LogComment("glEnableVertexAttribArrayARB( ATTR_INDEX_BINORMAL )\n");
  407. ^
  408. rendererGL3/tr_backend.cpp:817:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  409. GLimp_LogComment("glDisableVertexAttribArrayARB( ATTR_INDEX_BINORMAL )\n");
  410. ^
  411. rendererGL3/tr_backend.cpp:829:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  412. GLimp_LogComment("glEnableVertexAttribArrayARB( ATTR_INDEX_NORMAL )\n");
  413. ^
  414. rendererGL3/tr_backend.cpp:837:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  415. GLimp_LogComment("glDisableVertexAttribArrayARB( ATTR_INDEX_NORMAL )\n");
  416. ^
  417. rendererGL3/tr_backend.cpp:849:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  418. GLimp_LogComment("glEnableVertexAttribArrayARB( ATTR_INDEX_COLOR )\n");
  419. ^
  420. rendererGL3/tr_backend.cpp:857:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  421. GLimp_LogComment("glDisableVertexAttribArrayARB( ATTR_INDEX_COLOR )\n");
  422. ^
  423. rendererGL3/tr_backend.cpp:911:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  424. GLimp_LogComment("glEnableVertexAttribArrayARB( ATTR_INDEX_BONE_INDEXES )\n");
  425. ^
  426. rendererGL3/tr_backend.cpp:919:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  427. GLimp_LogComment("glDisableVertexAttribArrayARB( ATTR_INDEX_BONE_INDEXES )\n");
  428. ^
  429. rendererGL3/tr_backend.cpp:931:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  430. GLimp_LogComment("glEnableVertexAttribArrayARB( ATTR_INDEX_BONE_WEIGHTS )\n");
  431. ^
  432. rendererGL3/tr_backend.cpp:939:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  433. GLimp_LogComment("glDisableVertexAttribArrayARB( ATTR_INDEX_BONE_WEIGHTS )\n");
  434. ^
  435. rendererGL3/tr_backend.cpp:951:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  436. GLimp_LogComment("glEnableVertexAttribArrayARB( ATTR_INDEX_POSITION2 )\n");
  437. ^
  438. rendererGL3/tr_backend.cpp:959:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  439. GLimp_LogComment("glDisableVertexAttribArrayARB( ATTR_INDEX_POSITION2 )\n");
  440. ^
  441. rendererGL3/tr_backend.cpp:971:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  442. GLimp_LogComment("glEnableVertexAttribArrayARB( ATTR_INDEX_TANGENT2 )\n");
  443. ^
  444. rendererGL3/tr_backend.cpp:979:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  445. GLimp_LogComment("glDisableVertexAttribArrayARB( ATTR_INDEX_TANGENT2 )\n");
  446. ^
  447. rendererGL3/tr_backend.cpp:991:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  448. GLimp_LogComment("glEnableVertexAttribArrayARB( ATTR_INDEX_BINORMAL2 )\n");
  449. ^
  450. rendererGL3/tr_backend.cpp:999:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  451. GLimp_LogComment("glDisableVertexAttribArrayARB( ATTR_INDEX_BINORMAL2 )\n");
  452. ^
  453. rendererGL3/tr_backend.cpp:1011:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  454. GLimp_LogComment("glEnableVertexAttribArrayARB( ATTR_INDEX_NORMAL2 )\n");
  455. ^
  456. rendererGL3/tr_backend.cpp:1019:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  457. GLimp_LogComment("glDisableVertexAttribArrayARB( ATTR_INDEX_NORMAL2 )\n");
  458. ^
  459. rendererGL3/tr_backend.cpp:1039:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  460. GLimp_LogComment(va("--- GL_VertexAttribPointers( %s ) ---\n", glState.currentVBO->name));
  461. ^
  462. rendererGL3/tr_backend.cpp:1049:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  463. GLimp_LogComment("glVertexAttribPointerARB( ATTR_INDEX_POSITION )\n");
  464. ^
  465. rendererGL3/tr_backend.cpp:1060:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  466. GLimp_LogComment("glVertexAttribPointerARB( ATTR_INDEX_TEXCOORD )\n");
  467. ^
  468. rendererGL3/tr_backend.cpp:1071:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  469. GLimp_LogComment("glVertexAttribPointerARB( ATTR_INDEX_LIGHTCOORD )\n");
  470. ^
  471. rendererGL3/tr_backend.cpp:1082:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  472. GLimp_LogComment("glVertexAttribPointerARB( ATTR_INDEX_TANGENT )\n");
  473. ^
  474. rendererGL3/tr_backend.cpp:1093:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  475. GLimp_LogComment("glVertexAttribPointerARB( ATTR_INDEX_BINORMAL )\n");
  476. ^
  477. rendererGL3/tr_backend.cpp:1104:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  478. GLimp_LogComment("glVertexAttribPointerARB( ATTR_INDEX_NORMAL )\n");
  479. ^
  480. rendererGL3/tr_backend.cpp:1115:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  481. GLimp_LogComment("glVertexAttribPointerARB( ATTR_INDEX_COLOR )\n");
  482. ^
  483. rendererGL3/tr_backend.cpp:1150:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  484. GLimp_LogComment("glVertexAttribPointerARB( ATTR_INDEX_BONE_INDEXES )\n");
  485. ^
  486. rendererGL3/tr_backend.cpp:1161:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  487. GLimp_LogComment("glVertexAttribPointerARB( ATTR_INDEX_BONE_WEIGHTS )\n");
  488. ^
  489. rendererGL3/tr_backend.cpp:1174:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  490. GLimp_LogComment("glVertexAttribPointerARB( ATTR_INDEX_POSITION2 )\n");
  491. ^
  492. rendererGL3/tr_backend.cpp:1185:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  493. GLimp_LogComment("glVertexAttribPointerARB( ATTR_INDEX_TANGENT2 )\n");
  494. ^
  495. rendererGL3/tr_backend.cpp:1196:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  496. GLimp_LogComment("glVertexAttribPointerARB( ATTR_INDEX_BINORMAL2 )\n");
  497. ^
  498. rendererGL3/tr_backend.cpp:1207:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  499. GLimp_LogComment("glVertexAttribPointerARB( ATTR_INDEX_NORMAL2 )\n");
  500. ^
  501. rendererGL3/tr_backend.cpp:1267:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  502. GLimp_LogComment("--- RB_SetGL2D ---\n");
  503. ^
  504. rendererGL3/tr_backend.cpp:1312:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  505. GLimp_LogComment("--- RB_RenderDrawSurfaces ---\n");
  506. ^
  507. rendererGL3/tr_backend.cpp:1468:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  508. GLimp_LogComment("--- RB_RenderOpaqueSurfacesIntoDepth ---\n");
  509. ^
  510. rendererGL3/tr_backend.cpp:1975:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  511. GLimp_LogComment("--- RB_RenderInteractions ---\n");
  512. ^
  513. rendererGL3/tr_backend.cpp:2023:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  514. GLimp_LogComment("----- Rendering new light -----\n");
  515. ^
  516. rendererGL3/tr_backend.cpp:2225:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  517. GLimp_LogComment("--- RB_RenderInteractionsShadowMapped ---\n");
  518. ^
  519. rendererGL3/tr_backend.cpp:2296:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  520. GLimp_LogComment(va("----- Skipping shadowCube side: %i -----\n", cubeSide));
  521. ^
  522. rendererGL3/tr_backend.cpp:2320:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  523. GLimp_LogComment(va("----- Rendering shadowCube side: %i -----\n", cubeSide));
  524. ^
  525. rendererGL3/tr_backend.cpp:2434:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  526. GLimp_LogComment("--- Rendering projective shadowMap ---\n");
  527. ^
  528. rendererGL3/tr_backend.cpp:2476:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  529. GLimp_LogComment("--- Rendering directional shadowMap ---\n");
  530. ^
  531. rendererGL3/tr_backend.cpp:2567:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  532. GLimp_LogComment(va("split frustum %i: near = %5.3f, far = %5.3f\n", splitFrustumIndex, zNear, zFar));
  533. ^
  534. rendererGL3/tr_backend.cpp:2568:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  535. GLimp_LogComment(va("pyramid nearCorners\n"));
  536. ^
  537. rendererGL3/tr_backend.cpp:2571:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  538. GLimp_LogComment(va("(%5.3f, %5.3f, %5.3f)\n", splitFrustumCorners[j][0], splitFrustumCorners[j][1], ...
  539. ^
  540. rendererGL3/tr_backend.cpp:2574:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  541. GLimp_LogComment(va("pyramid farCorners\n"));
  542. ^
  543. rendererGL3/tr_backend.cpp:2577:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  544. GLimp_LogComment(va("(%5.3f, %5.3f, %5.3f)\n", splitFrustumCorners[j][0], splitFrustumCorners[j][1], ...
  545. ^
  546. rendererGL3/tr_backend.cpp:2701:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  547. GLimp_LogComment(va("shadow casters = %i\n", numCasters));
  548. ^
  549. rendererGL3/tr_backend.cpp:2703:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  550. GLimp_LogComment(va("split frustum light space clip bounds (%5.3f, %5.3f, %5.3f) (%5.3f, %5.3f, %5.3f)\n",
  551. ^
  552. rendererGL3/tr_backend.cpp:2707:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  553. GLimp_LogComment(va("shadow caster light space clip bounds (%5.3f, %5.3f, %5.3f) (%5.3f, %5.3f, %5.3f)\n",
  554. ^
  555. rendererGL3/tr_backend.cpp:2711:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  556. GLimp_LogComment(va("light receiver light space clip bounds (%5.3f, %5.3f, %5.3f) (%5.3f, %5.3f, %5.3f)\n",
  557. ^
  558. rendererGL3/tr_backend.cpp:2465:17: warning: unused variable 'splitFrustumViewBounds' [-Wunused-variable]
  559. vec3_t splitFrustumViewBounds[2];
  560. ^
  561. rendererGL3/tr_backend.cpp:2467:16: warning: unused variable 'splitFrustumRadius' [-Wunused-variable]
  562. float splitFrustumRadius;
  563. ^
  564. rendererGL3/tr_backend.cpp:2800:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  565. GLimp_LogComment(va("----- First Shadow Interaction: %i -----\n", iaCount));
  566. ^
  567. rendererGL3/tr_backend.cpp:2805:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  568. GLimp_LogComment("--- Rendering lighting ---\n");
  569. ^
  570. rendererGL3/tr_backend.cpp:2811:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  571. GLimp_LogComment(va("----- First Light Interaction: %i -----\n", iaCount));
  572. ^
  573. rendererGL3/tr_backend.cpp:3059:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  574. GLimp_LogComment(va("----- Batching Shadow Interaction: %i -----\n", iaCount));
  575. ^
  576. rendererGL3/tr_backend.cpp:3078:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  577. GLimp_LogComment(va("----- Beginning Shadow Interaction: %i -----\n", iaCount));
  578. ^
  579. rendererGL3/tr_backend.cpp:3114:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  580. GLimp_LogComment(va("----- Batching Light Interaction: %i -----\n", iaCount));
  581. ^
  582. rendererGL3/tr_backend.cpp:3133:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  583. GLimp_LogComment(va("----- Beginning Light Interaction: %i -----\n", iaCount));
  584. ^
  585. rendererGL3/tr_backend.cpp:3224:12: warning: enumeration value 'RL_MAX_REF_LIGHT_TYPE' not handled in switch [-Wswitch-enum]
  586. switch (light->l.rlType)
  587. ^
  588. rendererGL3/tr_backend.cpp:3301:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  589. GLimp_LogComment(va("----- Last Interaction: %i -----\n", iaCount));
  590. ^
  591. rendererGL3/tr_backend.cpp:3449:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  592. GLimp_LogComment("--- RB_RenderDrawSurfacesIntoGeometricBuffer ---\n");
  593. ^
  594. rendererGL3/tr_backend.cpp:3627:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  595. GLimp_LogComment("--- RB_RenderInteractionsDeferred ---\n");
  596. ^
  597. rendererGL3/tr_backend.cpp:3683:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  598. GLimp_LogComment("--- Rendering lighting ---\n");
  599. ^
  600. rendererGL3/tr_backend.cpp:3621:18: warning: unused variable 'lightColor' [-Wunused-variable]
  601. vec4_t lightColor;
  602. ^
  603. rendererGL3/tr_backend.cpp:4273:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  604. GLimp_LogComment("--- RB_RenderInteractionsDeferredShadowMapped ---\n");
  605. ^
  606. rendererGL3/tr_backend.cpp:4355:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  607. GLimp_LogComment(va("----- Skipping shadowCube side: %i -----\n", cubeSide));
  608. ^
  609. rendererGL3/tr_backend.cpp:4377:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  610. GLimp_LogComment(va("----- Rendering shadowCube side: %i -----\n", cubeSide));
  611. ^
  612. rendererGL3/tr_backend.cpp:4491:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  613. GLimp_LogComment("--- Rendering projective shadowMap ---\n");
  614. ^
  615. rendererGL3/tr_backend.cpp:4530:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  616. GLimp_LogComment("--- Rendering directional shadowMap ---\n");
  617. ^
  618. rendererGL3/tr_backend.cpp:4978:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  619. GLimp_LogComment(va("split frustum %i: near = %5.3f, far = %5.3f\n", splitFrustumIndex, zNear, zFar));
  620. ^
  621. rendererGL3/tr_backend.cpp:4979:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  622. GLimp_LogComment(va("pyramid nearCorners\n"));
  623. ^
  624. rendererGL3/tr_backend.cpp:4982:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  625. GLimp_LogComment(va("(%5.3f, %5.3f, %5.3f)\n", splitFrustumCorners[j][0], splitFrustumCorners[j][1], ...
  626. ^
  627. rendererGL3/tr_backend.cpp:4985:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  628. GLimp_LogComment(va("pyramid farCorners\n"));
  629. ^
  630. rendererGL3/tr_backend.cpp:4988:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  631. GLimp_LogComment(va("(%5.3f, %5.3f, %5.3f)\n", splitFrustumCorners[j][0], splitFrustumCorners[j][1], ...
  632. ^
  633. rendererGL3/tr_backend.cpp:5101:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  634. GLimp_LogComment(va("shadow casters = %i\n", numCasters));
  635. ^
  636. rendererGL3/tr_backend.cpp:5103:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  637. GLimp_LogComment(va("split frustum light space clip bounds (%5.3f, %5.3f, %5.3f) (%5.3f, %5.3f, %5.3f)\n",
  638. ^
  639. rendererGL3/tr_backend.cpp:5107:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  640. GLimp_LogComment(va("shadow caster light space clip bounds (%5.3f, %5.3f, %5.3f) (%5.3f, %5.3f, %5.3f)\n",
  641. ^
  642. rendererGL3/tr_backend.cpp:5111:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  643. GLimp_LogComment(va("light receiver light space clip bounds (%5.3f, %5.3f, %5.3f) (%5.3f, %5.3f, %5.3f)\n",
  644. ^
  645. rendererGL3/tr_backend.cpp:4520:17: warning: unused variable 'splitFrustumViewBounds' [-Wunused-variable]
  646. vec3_t splitFrustumViewBounds[2];
  647. ^
  648. rendererGL3/tr_backend.cpp:5206:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  649. GLimp_LogComment(va("----- First Shadow Interaction: %i -----\n", iaCount));
  650. ^
  651. rendererGL3/tr_backend.cpp:5211:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  652. GLimp_LogComment("--- Rendering lighting ---\n");
  653. ^
  654. rendererGL3/tr_backend.cpp:5217:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  655. GLimp_LogComment(va("----- First Light Interaction: %i -----\n", iaCount));
  656. ^
  657. rendererGL3/tr_backend.cpp:5237:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  658. GLimp_LogComment("--- Rendering lighting ---\n");
  659. ^
  660. rendererGL3/tr_backend.cpp:6070:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  661. GLimp_LogComment(va("----- Batching Shadow Interaction: %i -----\n", iaCount));
  662. ^
  663. rendererGL3/tr_backend.cpp:6090:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  664. GLimp_LogComment(va("----- Beginning Shadow Interaction: %i -----\n", iaCount));
  665. ^
  666. rendererGL3/tr_backend.cpp:6215:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  667. GLimp_LogComment(va("----- Last Interaction: %i -----\n", iaCount));
  668. ^
  669. rendererGL3/tr_backend.cpp:4266:18: warning: unused variable 'lightColor' [-Wunused-variable]
  670. vec4_t lightColor;
  671. ^
  672. rendererGL3/tr_backend.cpp:4267:18: warning: unused variable 'shadowCompare' [-Wunused-variable]
  673. qboolean shadowCompare;
  674. ^
  675. rendererGL3/tr_backend.cpp:6540:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  676. GLimp_LogComment("--- RB_RenderGlobalFog ---\n");
  677. ^
  678. rendererGL3/tr_backend.cpp:6576:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  679. GLimp_LogComment(va("--- RB_RenderGlobalFog( fogNum = %i, originalBrushNumber = %i ) ---\n", tr.world->globalFog, fog->originalBrushNumber));
  680. ^
  681. rendererGL3/tr_backend.cpp:6536:37: warning: unused variable 'fogDepthVector' [-Wunused-variable]
  682. vec4_t fogDistanceVector, fogDepthVector;
  683. ^
  684. rendererGL3/tr_backend.cpp:6537:18: warning: unused variable 'fogColor' [-Wunused-variable]
  685. vec4_t fogColor;
  686. ^
  687. rendererGL3/tr_backend.cpp:6661:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  688. GLimp_LogComment("--- RB_RenderBloom ---\n");
  689. ^
  690. rendererGL3/tr_backend.cpp:6896:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  691. GLimp_LogComment("--- RB_CameraPostFX ---\n");
  692. ^
  693. rendererGL3/tr_backend.cpp:7076:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  694. GLimp_LogComment("--- RB_RenderDeferredShadingResultToFrameBuffer ---\n");
  695. ^
  696. rendererGL3/tr_backend.cpp:7169:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  697. GLimp_LogComment("--- RB_RenderDeferredHDRResultToFrameBuffer ---\n");
  698. ^
  699. rendererGL3/tr_backend.cpp:7382:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  700. GLimp_LogComment("--- IssueLightOcclusionQuery ---\n");
  701. ^
  702. rendererGL3/tr_backend.cpp:7437:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  703. GLimp_LogComment("--- IssueLightMultiOcclusionQueries ---\n");
  704. ^
  705. rendererGL3/tr_backend.cpp:7541:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  706. GLimp_LogComment("--- GetLightOcclusionQueryResult ---\n");
  707. ^
  708. rendererGL3/tr_backend.cpp:7614:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  709. GLimp_LogComment("--- RB_RenderLightOcclusionQueries ---\n");
  710. ^
  711. rendererGL3/tr_backend.cpp:7924:12: warning: unused variable 'transform' [-Wunused-variable]
  712. matrix_t transform, scale, rot;
  713. ^
  714. rendererGL3/tr_backend.cpp:7924:23: warning: unused variable 'scale' [-Wunused-variable]
  715. matrix_t transform, scale, rot;
  716. ^
  717. rendererGL3/tr_backend.cpp:7978:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  718. GLimp_LogComment("--- IssueEntityOcclusionQuery ---\n");
  719. ^
  720. rendererGL3/tr_backend.cpp:8031:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  721. GLimp_LogComment("--- IssueEntityMultiOcclusionQueries ---\n");
  722. ^
  723. rendererGL3/tr_backend.cpp:8135:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  724. GLimp_LogComment("--- GetEntityOcclusionQueryResult ---\n");
  725. ^
  726. rendererGL3/tr_backend.cpp:8201:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  727. GLimp_LogComment("--- RB_RenderEntityOcclusionQueries ---\n");
  728. ^
  729. rendererGL3/tr_backend.cpp:8574:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  730. GLimp_LogComment("--- RB_RenderDebugUtils ---\n");
  731. ^
  732. rendererGL3/tr_backend.cpp:9537:19: warning: unused variable 'quadVerts' [-Wunused-variable]
  733. vec4_t quadVerts[4];
  734. ^
  735. rendererGL3/tr_backend.cpp:9671:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  736. GLimp_LogComment("--- r_showLightGrid > 0: Rendering light grid\n");
  737. ^
  738. rendererGL3/tr_backend.cpp:9832:17: warning: unused variable 'rotationMatrix' [-Wunused-variable]
  739. matrix_t rotationMatrix, transformMatrix, viewMatrix, projectionMatrix;
  740. ^
  741. rendererGL3/tr_backend.cpp:9832:33: warning: unused variable 'transformMatrix' [-Wunused-variable]
  742. matrix_t rotationMatrix, transformMatrix, viewMatrix, projectionMatrix;
  743. ^
  744. rendererGL3/tr_backend.cpp:10161:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  745. ("--- RB_RenderView( %i surfaces, %i interactions ) ---\n", backEnd.viewParms.numDrawSurfs,
  746. ^
  747. rendererGL3/tr_backend.cpp:11108:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  748. GLimp_LogComment("--- RB_SetColor ---\n");
  749. ^
  750. rendererGL3/tr_backend.cpp:11132:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  751. GLimp_LogComment("--- RB_StretchPic ---\n");
  752. ^
  753. rendererGL3/tr_backend.cpp:11474:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  754. GLimp_LogComment("--- RB_DrawView ---\n");
  755. ^
  756. rendererGL3/tr_backend.cpp:11502:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  757. GLimp_LogComment("--- RB_DrawBuffer ---\n");
  758. ^
  759. rendererGL3/tr_backend.cpp:11537:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  760. GLimp_LogComment("--- RB_ShowImages ---\n");
  761. ^
  762. rendererGL3/tr_backend.cpp:11672:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  763. GLimp_LogComment("***************** RB_SwapBuffers *****************\n\n\n");
  764. ^
  765. rendererGL3/tr_backend.cpp:11736:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  766. GLimp_LogComment("--- RB_ExecuteRenderCommands ---\n");
  767. ^
  768. rendererGL3/tr_backend.cpp:1458:13: warning: unused function 'RB_RenderOpaqueSurfacesIntoDepth' [-Wunused-function]
  769. static void RB_RenderOpaqueSurfacesIntoDepth(bool onlyWorld)
  770. ^
  771. rendererGL3/tr_backend.cpp:3439:13: warning: unused function 'RB_RenderDrawSurfacesIntoGeometricBuffer' [-Wunused-function]
  772. static void RB_RenderDrawSurfacesIntoGeometricBuffer()
  773. ^
  774. 176 warnings generated.
  775. tr_image_exr.cpp
  776. glew.c
  777. jdcolor.c
  778. jdapimin.c
  779. jdsample.c
  780. jidctflt.c
  781. jctrans.c
  782. jerror.c
  783. jcmarker.c
  784. jdarith.c
  785. jfdctfst.c
  786. jidctint.c
  787. jcsample.c
  788. jquant1.c
  789. jcapistd.c
  790. jfdctint.c
  791. jdatasrc.c
  792. jcdctmgr.c
  793. jdatadst.c
  794. jidctfst.c
  795. jdmaster.c
  796. jfdctflt.c
  797. jdinput.c
  798. jccoefct.c
  799. jccolor.c
  800. jquant2.c
  801. jcparam.c
  802. jdmerge.c
  803. jaricom.c
  804. jdhuff.c
  805. jdcoefct.c
  806. jmemmgr.c
  807. jddctmgr.c
  808. jdpostct.c
  809. jcinit.c
  810. jmemnobs.c
  811. jdmainct.c
  812. jcapimin.c
  813. jchuff.c
  814. jdapistd.c
  815. jdmarker.c
  816. jcomapi.c
  817. jutils.c
  818. jcmaster.c
  819. jcprepct.c
  820. jcarith.c
  821. jcmainct.c
  822. jdtrans.c
  823. pngwio.c
  824. pngtrans.c
  825. pngread.c
  826. ../libs/png/pngread.c:1453:15: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
  827. transforms = transforms; /* quiet compiler warnings */
  828. ~~~~~~~~~~ ^ ~~~~~~~~~~
  829. ../libs/png/pngread.c:1454:11: warning: explicitly assigning a variable of type 'voidp' (aka 'void *') to itself [-Wself-assign]
  830. params = params;
  831. ~~~~~~ ^ ~~~~~~
  832. 2 warnings generated.
  833. pngerror.c
  834. ../libs/png/pngerror.c:300:12: warning: explicitly assigning a variable of type 'png_structp' (aka 'struct png_struct_def *') to itself [-Wself-assign]
  835. png_ptr = png_ptr; /* make compiler happy */
  836. ~~~~~~~ ^ ~~~~~~~
  837. 1 warning generated.
  838. pngwtran.c
  839. pngvcrd.c
  840. pngpread.c
  841. ../libs/png/pngpread.c:1062:19: warning: explicitly assigning a variable of type 'png_infop' (aka 'struct png_info_struct *') to itself [-Wself-assign]
  842. info_ptr = info_ptr; /* to quiet some compiler warnings */
  843. ~~~~~~~~ ^ ~~~~~~~~
  844. ../libs/png/pngpread.c:1158:19: warning: explicitly assigning a variable of type 'png_infop' (aka 'struct png_info_struct *') to itself [-Wself-assign]
  845. info_ptr = info_ptr; /* to quiet some compiler warnings */
  846. ~~~~~~~~ ^ ~~~~~~~~
  847. ../libs/png/pngpread.c:1480:16: warning: explicitly assigning a variable of type 'png_infop' (aka 'struct png_info_struct *') to itself [-Wself-assign]
  848. info_ptr = info_ptr; /* to quiet some compiler warnings */
  849. ~~~~~~~~ ^ ~~~~~~~~
  850. 3 warnings generated.
  851. png.c
  852. ../libs/png/png.c:696:12: warning: explicitly assigning a variable of type 'png_structp' (aka 'struct png_struct_def *') to itself [-Wself-assign]
  853. png_ptr = png_ptr; /* silence compiler warning about unused png_ptr */
  854. ~~~~~~~ ^ ~~~~~~~
  855. ../libs/png/png.c:715:12: warning: explicitly assigning a variable of type 'png_structp' (aka 'struct png_struct_def *') to itself [-Wself-assign]
  856. png_ptr = png_ptr; /* silence compiler warning about unused png_ptr */
  857. ~~~~~~~ ^ ~~~~~~~
  858. ../libs/png/png.c:723:12: warning: explicitly assigning a variable of type 'png_structp' (aka 'struct png_struct_def *') to itself [-Wself-assign]
  859. png_ptr = png_ptr; /* silence compiler warning about unused png_ptr */
  860. ~~~~~~~ ^ ~~~~~~~
  861. ../libs/png/png.c:731:12: warning: explicitly assigning a variable of type 'png_structp' (aka 'struct png_struct_def *') to itself [-Wself-assign]
  862. png_ptr = png_ptr; /* silence compiler warning about unused png_ptr */
  863. ~~~~~~~ ^ ~~~~~~~
  864. 4 warnings generated.
  865. pngget.c
  866. pngmem.c
  867. pngrtran.c
  868. pngrutil.c
  869. ../libs/png/pngrutil.c:614:13: warning: explicitly assigning a variable of type 'png_infop' (aka 'struct png_info_struct *') to itself [-Wself-assign]
  870. info_ptr = info_ptr; /* quiet compiler warnings about unused info_ptr */
  871. ~~~~~~~~ ^ ~~~~~~~~
  872. 1 warning generated.
  873. pnggccrd.c
  874. pngset.c
  875. pngwutil.c
  876. example.c
  877. ../libs/png/example.c:101:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
  878. #endif no_open_file /* only use one prototype! */
  879. ^
  880. //
  881. ../libs/png/example.c:152:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
  882. #endif no_streams /* Use only one I/O method! */
  883. ^
  884. //
  885. ../libs/png/example.c:375:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
  886. #endif no_sparkle /* use only one of these two methods */
  887. ^
  888. //
  889. ../libs/png/example.c:380:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
  890. #endif no_single /* use only one of these two methods */
  891. ^
  892. //
  893. ../libs/png/example.c:382:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
  894. #endif no_entire /* use only one of these two methods */
  895. ^
  896. //
  897. ../libs/png/example.c:386:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
  898. #endif hilevel
  899. ^
  900. //
  901. ../libs/png/example.c:616:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
  902. #endif no_streams /* only use one initialization method */
  903. ^
  904. //
  905. ../libs/png/example.c:778:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
  906. #endif no_entire /* use only one output method */
  907. ^
  908. //
  909. ../libs/png/example.c:788:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
  910. #endif hilevel
  911. ^
  912. //
  913. 9 warnings generated.
  914. pngwrite.c
  915. ../libs/png/pngwrite.c:1543:15: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
  916. transforms = transforms; /* quiet compiler warnings */
  917. ~~~~~~~~~~ ^ ~~~~~~~~~~
  918. ../libs/png/pngwrite.c:1544:11: warning: explicitly assigning a variable of type 'voidp' (aka 'void *') to itself [-Wself-assign]
  919. params = params;
  920. ~~~~~~ ^ ~~~~~~
  921. 2 warnings generated.
  922. pngrio.c
  923. adler32.c
  924. trees.c
  925. crc32.c
  926. inffast.c
  927. inftrees.c
  928. inflate.c
  929. ioapi.c
  930. zutil.c
  931. infback.c
  932. gzio.c
  933. deflate.c
  934. compress.c
  935. uncompr.c
  936. half.cpp
  937. autofit.c
  938. bdf.c
  939. cff.c
  940. ftbase.c
  941. ftbitmap.c
  942. ftcache.c
  943. ftdebug.c
  944. ftgasp.c
  945. ftglyph.c
  946. ftgzip.c
  947. ftinit.c
  948. ftlzw.c
  949. ftstroke.c
  950. ftsystem.c
  951. smooth.c
  952. ftbbox.c
  953. ftmm.c
  954. ftpfr.c
  955. ftsynth.c
  956. fttype1.c
  957. ftwinfnt.c
  958. pcf.c
  959. pfr.c
  960. psaux.c
  961. pshinter.c
  962. psmodule.c
  963. raster.c
  964. sfnt.c
  965. truetype.c
  966. type1.c
  967. type1cid.c
  968. type42.c
  969. winfnt.c
  970. linux_signals.c
  971. unix_main.c
  972. unix_net.c
  973. unix/unix_net.c:180:38: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
  974. , 0, (struct sockaddr *)&from, &fromlen );
  975. ^~~~~~~~
  976. In file included from unix/unix_net.c:35:
  977. /usr/include/sys/socket.h:168:27: note: passing argument to parameter '__addr_len' here
  978. socklen_t *__restrict __addr_len);
  979. ^
  980. 1 warning generated.
  981. unix_shared.c
  982. sdl_snd.c
  983. linux_joystick.c
  984. linux_gl3imp.c
  985. unix/linux_gl3imp.c:1508:11: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  986. glstring = glGetString(GL_RENDERER);
  987. ^ ~~~~~~~~~~~~~~~~~~~~~~~~
  988. unix/linux_gl3imp.c:2079:9: warning: unused variable 'retVal' [-Wunused-variable]
  989. int retVal;
  990. ^
  991. unix/linux_gl3imp.c:2080:18: warning: unused variable 'success' [-Wunused-variable]
  992. const char *success[] = { "failed", "success" };
  993. ^
  994. unix/linux_gl3imp.c:2268:37: warning: passing 'const GLubyte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign
  995. [-Wpointer-sign]
  996. Q_strncpyz(glConfig.vendor_string, glGetString(GL_VENDOR), sizeof(glConfig.vendor_string));
  997. ^~~~~~~~~~~~~~~~~~~~~~
  998. In file included from unix/linux_gl3imp.c:65:
  999. In file included from unix/../rendererGL3/tr_local.h:27:
  1000. unix/../rendererGL3/../../shared/q_shared.h:1455:52: note: passing argument to parameter 'src' here
  1001. void Q_strncpyz(char *dest, const char *src, int destsize);
  1002. ^
  1003. unix/linux_gl3imp.c:2269:39: warning: passing 'const GLubyte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign
  1004. [-Wpointer-sign]
  1005. Q_strncpyz(glConfig.renderer_string, glGetString(GL_RENDERER), sizeof(glConfig.renderer_string));
  1006. ^~~~~~~~~~~~~~~~~~~~~~~~
  1007. In file included from unix/linux_gl3imp.c:65:
  1008. In file included from unix/../rendererGL3/tr_local.h:27:
  1009. unix/../rendererGL3/../../shared/q_shared.h:1455:52: note: passing argument to parameter 'src' here
  1010. void Q_strncpyz(char *dest, const char *src, int destsize);
  1011. ^
  1012. unix/linux_gl3imp.c:2274:38: warning: passing 'const GLubyte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign
  1013. [-Wpointer-sign]
  1014. Q_strncpyz(glConfig.version_string, glGetString(GL_VERSION), sizeof(glConfig.version_string));
  1015. ^~~~~~~~~~~~~~~~~~~~~~~
  1016. In file included from unix/linux_gl3imp.c:65:
  1017. In file included from unix/../rendererGL3/tr_local.h:27:
  1018. unix/../rendererGL3/../../shared/q_shared.h:1455:52: note: passing argument to parameter 'src' here
  1019. void Q_strncpyz(char *dest, const char *src, int destsize);
  1020. ^
  1021. unix/linux_gl3imp.c:2278:42: warning: passing 'const GLubyte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign
  1022. [-Wpointer-sign]
  1023. Q_strncpyz(glConfig.extensions_string, glGetString(GL_EXTENSIONS), sizeof(glConfig.extensions_string));
  1024. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  1025. In file included from unix/linux_gl3imp.c:65:
  1026. In file included from unix/../rendererGL3/tr_local.h:27:
  1027. unix/../rendererGL3/../../shared/q_shared.h:1455:52: note: passing argument to parameter 'src' here
  1028. void Q_strncpyz(char *dest, const char *src, int destsize);
  1029. ^
  1030. unix/linux_gl3imp.c:2280:13: warning: passing 'const GLubyte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign
  1031. [-Wpointer-sign]
  1032. if(strlen(glGetString(GL_EXTENSIONS)) >= sizeof(glConfig.extensions_string))
  1033. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  1034. In file included from unix/linux_gl3imp.c:65:
  1035. In file included from unix/../rendererGL3/tr_local.h:27:
  1036. In file included from unix/../rendererGL3/../../shared/q_shared.h:147:
  1037. /usr/include/string.h:399:37: note: passing argument to parameter '__s' here
  1038. extern size_t strlen (__const char *__s)
  1039. ^
  1040. unix/linux_gl3imp.c:2283:16: warning: passing 'const GLubyte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign
  1041. [-Wpointer-sign]
  1042. strlen(glGetString(GL_EXTENSIONS)), sizeof(glConfig.extensions_string));
  1043. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  1044. In file included from unix/linux_gl3imp.c:65:
  1045. In file included from unix/../rendererGL3/tr_local.h:27:
  1046. In file included from unix/../rendererGL3/../../shared/q_shared.h:147:
  1047. /usr/include/string.h:399:37: note: passing argument to parameter '__s' here
  1048. extern size_t strlen (__const char *__s)
  1049. ^
  1050. unix/linux_gl3imp.c:2282:73: warning: conversion specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  1051. Com_Printf(S_COLOR_YELLOW "WARNNING: GL extensions string too long (%d), truncated to %d\n",
  1052. ~^
  1053. %lu
  1054. unix/linux_gl3imp.c:2282:91: warning: conversion specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  1055. Com_Printf(S_COLOR_YELLOW "WARNNING: GL extensions string too long (%d), truncated to %d\n",
  1056. ~^
  1057. %lu
  1058. unix/linux_gl3imp.c:2282:73: warning: conversion specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  1059. Com_Printf(S_COLOR_YELLOW "WARNNING: GL extensions string too long (%d), truncated to %d\n",
  1060. ~^
  1061. %lu
  1062. unix/linux_gl3imp.c:2282:91: warning: conversion specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  1063. Com_Printf(S_COLOR_YELLOW "WARNNING: GL extensions string too long (%d), truncated to %d\n",
  1064. ~^
  1065. %lu
  1066. unix/linux_gl3imp.c:90:17: warning: unused variable 'fontbase_init' [-Wunused-variable]
  1067. static qboolean fontbase_init = qfalse;
  1068. ^
  1069. 14 warnings generated.
  1070. Linking ETXreaL
  1071. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/be_aas_route.o: in function AAS_ReadRouteCache:botlib/be_aas_route.c:1369: error: undefined reference to 'AAS_ClusterAreaNum'
  1072. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/be_aas_route.o: in function AAS_UpdateAreaRoutingCache:botlib/be_aas_route.c:1599: error: undefined reference to 'AAS_ClusterAreaNum'
  1073. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/be_aas_route.o: in function AAS_UpdateAreaRoutingCache:botlib/be_aas_route.c:1667: error: undefined reference to 'AAS_ClusterAreaNum'
  1074. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/be_aas_route.o: in function AAS_GetAreaRoutingCache:botlib/be_aas_route.c:1739: error: undefined reference to 'AAS_ClusterAreaNum'
  1075. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/be_aas_route.o: in function AAS_GetAreaRoutingCache:botlib/be_aas_route.c:1780: error: undefined reference to 'AAS_RoutingTime'
  1076. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/be_aas_route.o: in function AAS_GetPortalRoutingCache:botlib/be_aas_route.c:1928: error: undefined reference to 'AAS_RoutingTime'
  1077. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/tr_animation_mdm.o: in function Tess_MDM_SurfaceAnim:rendererGL3/tr_animation_mdm.c:1981: error: undefined reference to 'LocalAddScaledMatrixTransformVectorTranslate'
  1078. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/tr_animation_mdm.o: in function Tess_MDM_SurfaceAnim:rendererGL3/tr_animation_mdm.c:1983: error: undefined reference to 'LocalAddScaledMatrixTransformVector'
  1079. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/tr_animation_mdm.o: in function Tess_MDM_SurfaceAnim:rendererGL3/tr_animation_mdm.c:1984: error: undefined reference to 'LocalAddScaledMatrixTransformVector'
  1080. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/tr_animation_mdm.o: in function Tess_MDM_SurfaceAnim:rendererGL3/tr_animation_mdm.c:1985: error: undefined reference to 'LocalAddScaledMatrixTransformVector'
  1081. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/tr_animation_mdm.o: in function R_CalcBones:rendererGL3/tr_animation_mdm.c:1672: error: undefined reference to 'Matrix3Transpose'
  1082. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/tr_animation_mdm.o: in function R_CalcBones:rendererGL3/tr_animation_mdm.c:1755: error: undefined reference to 'Matrix4FromAxisPlusTranslation'
  1083. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/tr_animation_mdm.o: in function R_CalcBones:rendererGL3/tr_animation_mdm.c:1761: error: undefined reference to 'Matrix4FromScaledAxisPlusTranslation'
  1084. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/tr_animation_mdm.o: in function R_CalcBones:rendererGL3/tr_animation_mdm.c:1765: error: undefined reference to 'Matrix4MultiplyInto3x3AndTranslation'
  1085. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/tr_animation_mdm.o: in function R_MDM_GetBoneTag:rendererGL3/tr_animation_mdm.c:2420: error: undefined reference to 'LocalAddScaledMatrixTransformVectorTranslate'
  1086. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/tr_animation_mdm.o: in function R_MDM_GetBoneTag:rendererGL3/tr_animation_mdm.c:2423: error: undefined reference to 'LocalMatrixTransformVector'
  1087. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/tr_animation_mdm.o: in function R_CalcBone:rendererGL3/tr_animation_mdm.c:1166: error: undefined reference to 'SLerp_Normal'
  1088. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/tr_animation_mdm.o: in function R_CalcBoneLerp:rendererGL3/tr_animation_mdm.c:1432: error: undefined reference to 'SLerp_Normal'
  1089. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/tr_animation_mdm.o: in function R_CalcBoneLerp:rendererGL3/tr_animation_mdm.c:1436: error: undefined reference to 'SLerp_Normal'
  1090. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/tr_animation_mdm.o: in function R_CalcBoneLerp:rendererGL3/tr_animation_mdm.c:1472: error: undefined reference to 'SLerp_Normal'
  1091. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/unix_main.o: in function Sys_UnloadDll:unix/unix_main.c:685: error: undefined reference to 'dlclose'
  1092. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/unix_main.o: in function Sys_UnloadDll:unix/unix_main.c:686: error: undefined reference to 'dlerror'
  1093. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/unix_main.o: in function Sys_LoadDll:unix/unix_main.c:908: error: undefined reference to 'dlopen'
  1094. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/unix_main.o: in function Sys_LoadDll:unix/unix_main.c:912: error: undefined reference to 'dlerror'
  1095. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/unix_main.o: in function Sys_LoadDll:unix/unix_main.c:918: error: undefined reference to 'dlopen'
  1096. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/unix_main.o: in function Sys_LoadDll:unix/unix_main.c:922: error: undefined reference to 'dlerror'
  1097. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/unix_main.o: in function Sys_LoadDll:unix/unix_main.c:927: error: undefined reference to 'dlopen'
  1098. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/unix_main.o: in function Sys_LoadDll:unix/unix_main.c:931: error: undefined reference to 'dlerror'
  1099. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/unix_main.o: in function Sys_LoadDll:unix/unix_main.c:965: error: undefined reference to 'dlsym'
  1100. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/unix_main.o: in function Sys_LoadDll:unix/unix_main.c:966: error: undefined reference to 'dlsym'
  1101. /usr/bin/ld.gold: obj/x64/Debug/ETXreaL/unix_main.o: in function Sys_LoadDll:unix/unix_main.c:975: error: undefined reference to 'dlclose'
  1102. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  1103. make[1]: *** [../../bin64/etxreal] Error 1
  1104. make: *** [ETXreaL] Error 2
Add Comment
Please, Sign In to add comment