Bug#383923: FTBFS with GCC 4.2: '<anonymous>' has incomplete type

Martin Michlmayr tbm at cyrius.com
Sun Aug 20 17:53:57 UTC 2006


Package: boson
Version: 0.12dfsg1-1

This package fails to build with with GCC 4.2.  Version 4.2 has not
been released yet but I'm building with a snapshot in order to find
errors and give people an advance warning.  The bug below is in your
package and not because I'm using a snapshot of the compiler so please
take a look at it.  You can reproduce this with the gcc-snapshot
package from unstable or gcc-4.2 from experimental.  Some background
information about why this code is no longer accepted can be found at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9278


> Automatic build of boson_0.12dfsg1-1 on usurper by sbuild/amd64 0.46
...
> make[3]: Entering directory `/build/tbm/boson-0.12dfsg1/debian/build-area'
> [ 13%] Building CXX object bogl/CMakeFiles/bogl.dir/bogl.o
> /build/tbm/boson-0.12dfsg1/bogl/gl/bogl_2_0_decl_p.h:293: error: '<anonymous>' has incomplete type
> /build/tbm/boson-0.12dfsg1/bogl/gl/bogl_2_0_decl_p.h:293: error: invalid use of 'GLvoid'
> /build/tbm/boson-0.12dfsg1/bogl/gl/extensions/arb_shader_objects_decl_p.h:40: error: '<anonymous>' has incomplete type
> /build/tbm/boson-0.12dfsg1/bogl/gl/extensions/arb_shader_objects_decl_p.h:40: error: invalid use of 'GLvoid'
> make[3]: *** [bogl/CMakeFiles/bogl.dir/bogl.o] Error 1
> make[3]: Leaving directory `/build/tbm/boson-0.12dfsg1/debian/build-area'

-- 
Martin Michlmayr
http://www.cyrius.com/




More information about the Pkg-games-devel mailing list