Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
DP GLES build errors
dan@pandamiga:~/src/darkplaces$ make sdl-release
make bin-release \
DP_MAKE_TARGET=linux DP_SOUND_API=ALSA \
EXE="darkplaces-sdl" LDFLAGS_COMMON="-lm `[ -n "" ] && "/../bin/ode-config" --libs` `[ -n "" ] && echo -lstdc++` -ljpeg `[ -n "" ] && echo \ /libd0_blind_id.a` `[ -n "" ] && { [ -n "" ] && echo \ /libgmp.a || echo \ -lgmp; }` `[ -n "" ] && echo \ /libd0_rijndael.a` -lrt -ldl `sdl-config --libs` -lX11 `[ -n "" ] && echo \ /libmodplug.a\ -lstdc++`" LEVEL=1
make[1]: Entering directory `/home/dan/src/darkplaces'
========== darkplaces-sdl (release) ==========
make darkplaces-sdl \
DP_MAKE_TARGET=linux DP_SOUND_API=ALSA \
CFLAGS="-MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -DUSE_GLES2 -I/usr/local/include/SDL2 -O3 -fno-strict-aliasing -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math"\
LDFLAGS="-O3 -fno-strict-aliasing -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -DSVNREVISION=`{ test -d .svn && svnversion; } || { test -d .git && git describe --always; } || echo -` -DBUILDTYPE=release -lm -ljpeg -lrt -ldl -L/usr/lib/arm-linux-gnueabihf -lSDL -lX11 " LEVEL=2
make[2]: Entering directory `/home/dan/src/darkplaces'
cc -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -DUSE_GLES2 -I/usr/local/include/SDL2 -O3 -fno-strict-aliasing -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c gl_backend.c -o gl_backend.o
gl_backend.c: In function ‘gl_backend_start’:
gl_backend.c:409:2: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘R_SetViewport’:
gl_backend.c:1215:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1216:48: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1165:8: warning: unused variable ‘m’ [-Wunused-variable]
gl_backend.c: In function ‘GL_BindVBO’:
gl_backend.c:1235:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1236:51: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_BindEBO’:
gl_backend.c:1245:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1246:59: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘R_Mesh_CreateFramebufferObject’:
gl_backend.c:1264:4: warning: implicit declaration of function ‘qglGenFramebuffers’ [-Wimplicit-function-declaration]
gl_backend.c:1264:42: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1267:121: error: ‘GL_DEPTH_STENCIL_ATTACHMENT’ undeclared (first use in this function)
gl_backend.c:1267:121: note: each undeclared identifier is reported only once for each function it appears in
gl_backend.c:1267:234: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1268:235: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1269:171: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1270:171: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1271:171: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1272:171: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1273:172: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1274:172: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1275:172: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1276:172: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1278:25: error: ‘qglDrawBuffersARB’ undeclared (first use in this function)
gl_backend.c:1280:5: warning: implicit declaration of function ‘qglDrawBuffersARB’ [-Wimplicit-function-declaration]
gl_backend.c:1280:39: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1281:5: warning: implicit declaration of function ‘glReadBuffer’ [-Wimplicit-function-declaration]
gl_backend.c:1281:28: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1285:39: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1286:28: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1290:39: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1291:28: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1293:29: error: ‘qglDrawBuffer’ undeclared (first use in this function)
gl_backend.c:1295:5: warning: implicit declaration of function ‘qglDrawBuffer’ [-Wimplicit-function-declaration]
gl_backend.c:1295:41: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1296:41: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1300:28: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1301:28: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1303:4: warning: implicit declaration of function ‘qglCheckFramebufferStatus’ [-Wimplicit-function-declaration]
gl_backend.c:1303:55: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1307:5: warning: implicit declaration of function ‘qglDeleteFramebuffers’ [-Wimplicit-function-declaration]
gl_backend.c:1316:42: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1319:171: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1320:172: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1321:171: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1322:171: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1323:171: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1324:171: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1325:172: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1326:172: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1327:172: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1328:172: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1332:39: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1333:28: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1337:39: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1338:28: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1342:39: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1343:28: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1347:41: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1348:41: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1352:28: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1353:28: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1355:55: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘R_Mesh_SetRenderTargets’:
gl_backend.c:1452:4: warning: implicit declaration of function ‘qglBindFramebuffer’ [-Wimplicit-function-declaration]
gl_backend.c: In function ‘GL_Backend_ResetState’:
gl_backend.c:1663:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1664:28: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1665:58: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1666:24: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1667:34: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1668:28: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1669:27: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1670:28: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1671:36: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1681:91: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1683:88: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1690:37: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1693:38: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1697:44: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1703:95: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1704:56: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1706:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_ActiveTexture’:
gl_backend.c:1723:8: warning: the address of ‘glActiveTexture’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1725:5: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1727:5: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_ClientActiveTexture’:
gl_backend.c:1750:8: warning: the address of ‘glActiveTexture’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1752:5: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1753:5: warning: implicit declaration of function ‘glClientActiveTexture’ [-Wimplicit-function-declaration]
gl_backend.c:1754:5: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_BlendFunc’:
gl_backend.c:1785:4: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1786:59: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1792:27: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1796:26: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_DepthMask’:
gl_backend.c:1859:4: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1860:37: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_DepthTest’:
gl_backend.c:1892:4: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1895:30: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1899:31: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_DepthFunc’:
gl_backend.c:1932:4: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:1933:37: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘R_SetStencilSeparate’:
gl_backend.c:2008:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2011:31: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2015:32: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2019:30: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2020:70: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2021:66: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2022:87: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2023:85: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘R_SetStencil’:
gl_backend.c:2078:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2081:31: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2085:32: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2093:29: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2094:36: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2095:58: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2096:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_SetMirrorState’:
gl_backend.c:2176:35: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_CullFace’:
gl_backend.c:2213:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2220:29: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2225:36: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2233:30: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_ColorMask’:
gl_backend.c:2361:4: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2362:73: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_Color’:
gl_backend.c:2395:4: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2396:4: warning: implicit declaration of function ‘glColor4f’ [-Wimplicit-function-declaration]
gl_backend.c:2397:4: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_Scissor’:
gl_backend.c:2424:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2426:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_ScissorTest’:
gl_backend.c:2464:4: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2469:4: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_Clear’:
gl_backend.c:2507:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2510:78: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2515:31: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2522:34: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2524:18: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_ReadPixelsBGRA’:
gl_backend.c:2555:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2556:38: error: ‘GL_BGRA’ undeclared (first use in this function)
gl_backend.c:2556:76: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_Backend_CompileShader’:
gl_backend.c:2624:49: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2627:59: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2628:33: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2629:67: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2630:74: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2642:33: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2645:47: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2646:32: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_Backend_CompileProgram’:
gl_backend.c:2655:2: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2657:37: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2687:32: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2688:65: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2689:70: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2707:34: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘GL_Backend_FreeProgram’:
gl_backend.c:2713:2: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2715:2: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘R_Mesh_Draw’:
gl_backend.c:2873:4: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3093:6: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3109:6: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3125:6: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3141:6: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3147:5: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3223:5: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3228:5: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3233:5: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:2726:9: warning: variable ‘bufferoffset3s’ set but not used [-Wunused-but-set-variable]
gl_backend.c:2724:9: warning: variable ‘bufferoffset3i’ set but not used [-Wunused-but-set-variable]
gl_backend.c: In function ‘R_Mesh_VertexPointer’:
gl_backend.c:3431:4: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3433:4: warning: implicit declaration of function ‘glVertexPointer’ [-Wimplicit-function-declaration]
gl_backend.c:3433:96: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3447:4: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3449:130: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘R_Mesh_ColorPointer’:
gl_backend.c:3510:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3518:5: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3519:50: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3529:5: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3531:128: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3540:5: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3541:51: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3543:125: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘R_Mesh_TexCoordPointer’:
gl_backend.c:3606:3: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3614:62: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3626:140: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3635:63: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘R_Mesh_CopyToTexture’:
gl_backend.c:3671:23: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3672:73: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘R_Mesh_TexBind’:
gl_backend.c:3757:135: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3758:135: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3759:162: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3793:31: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3800:32: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3804:45: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3814:31: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3821:32: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3825:45: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3835:37: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3842:38: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3846:56: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c: In function ‘R_Mesh_TexMatrix’:
gl_backend.c:3905:19: warning: unused variable ‘unit’ [-Wunused-variable]
gl_backend.c: In function ‘R_Mesh_TexCombine’:
gl_backend.c:3958:2: warning: the address of ‘glGetError’ will always evaluate as ‘true’ [-Waddress]
gl_backend.c:3957:19: warning: unused variable ‘unit’ [-Wunused-variable]
make[2]: *** [gl_backend.o] Error 1
make[2]: Leaving directory `/home/dan/src/darkplaces'
make[1]: *** [bin-release] Error 2
make[1]: Leaving directory `/home/dan/src/darkplaces'
make: *** [sdl-release] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.