freebsd-ports/games/spring
Antoine Brodin e04ea497b7 Mark BROKEN: Fails to build
with gcc 4.7:
/wrkdirs/usr/ports/games/spring/work/spring_94.1/rts/Rendering/GL/myGL.cpp:368:62: error: invalid conversion from 'void (*)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar*, GLvoid*) {aka void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, const char*, void*)}' to 'GLDEBUGPROCARB {aka void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, const char*, const void*)}' [-fpermissive]

with clang 3.3:
/wrkdirs/usr/ports/games/spring/work/spring_94.1/rts/Rendering/GL/myGL.cpp:368:29: error: cannot initialize a parameter of type 'GLDEBUGPROCARB' (aka 'void (*)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar *, const void *)') with an rvalue of type 'void (*)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar *, GLvoid *)': type mismatch at 7th parameter ('const void *' vs 'GLvoid *' (aka 'void *'))
                glDebugMessageCallbackARB(&OpenGLDebugMessageCallback, NULL);
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~

with clang 3.4.1:
cd /wrkdirs/usr/ports/games/spring/work/spring_94.1/rts/lib/squish && /usr/bin/c++   -DBOOST_NO_FENV_H -DSPRING_DATADIR=\"/usr/local/share/spring\" -DSTREFLOP_SSE -DSYNCCHECK -DUSE_LIBSQUISH -O2 -pipe -fno-strict-aliasing            -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing  -fvisibility=hidden  -fvisibility-inlines-hidden -pthread                                     -DNDEBUG -I/usr/local/include -I/wrkdirs/usr/ports/games/spring/work/spring_94.1/rts -I/wrkdirs/usr/ports/games/spring/work/spring_94.1/rts/lib/squish -o CMakeFiles/squish.dir/alpha.cpp.o -c /wrkdirs/usr/ports/games/spring/work/spring_94.1/rts/lib/squish/alpha.cpp
c++: error: unknown argument: '-fsingle-precision-constant'

Reported by:	pkg-fallout
2014-09-13 21:17:19 +00:00
..
files Update CMake to 3.0.1. 2014-09-02 12:59:54 +00:00
distinfo
Makefile Mark BROKEN: Fails to build 2014-09-13 21:17:19 +00:00
pkg-descr
pkg-message
pkg-plist