[GEM-dev] light.h = ISO C++ forbids declaration of `GLUquadricObj' with no type

patrick puredata at 11h11.com
Mon Feb 7 03:49:46 CET 2005


brand new bug in the cvs for linux:

echo ----------../Nongeos----------
make[1]: Entering directory `/home/patrick/src/Gem/src/Nongeos'
c++ -c -g -g -O2 -DNEW_VIDEOFILM -fPIC -mmmx  -I../ 
-I/usr/local/include/avifile-0.7 -I/usr/local/include/FTGL/ 
-I/usr/include/freetype2/ -I/usr/local/include/  -fno-builtin -O3 
-funroll-loops -ffast-math  light.cpp -o light.o
c++ -c -g -g -O2 -DNEW_VIDEOFILM -fPIC -mmmx  -I../ 
-I/usr/local/include/avifile-0.7 -I/usr/local/include/FTGL/ 
-I/usr/include/freetype2/ -I/usr/local/include/  -fno-builtin -O3 
-funroll-loops -ffast-math  world_light.cpp -o world_light.o
In file included from light.h:18,
                  from light.cpp:17:
../Nongeos/world_light.h:104: error: ISO C++ forbids declaration of 
`GLUquadricObj' with no type
../Nongeos/world_light.h:104: error: expected `;' before '*' token
make[1]: *** [light.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from world_light.cpp:17:
world_light.h:104: error: ISO C++ forbids declaration of `GLUquadricObj' 
with no type
world_light.h:104: error: expected `;' before '*' token
world_light.cpp: In constructor `world_light::world_light(t_floatarg)':
world_light.cpp:36: error: class `world_light' does not have any field 
named `m_thing'
world_light.cpp: In member function `virtual void 
world_light::startRendering()':
world_light.cpp:117: error: `m_thing' undeclared (first use this function)
world_light.cpp:117: error: (Each undeclared identifier is reported only 
once for each function it appears in.)
world_light.cpp: In member function `virtual void 
world_light::stopRendering()':
world_light.cpp:137: error: `m_thing' undeclared (first use this function)
world_light.cpp: In member function `virtual void 
world_light::render(GemState*)':
world_light.cpp:179: error: `m_thing' undeclared (first use this function)
make[1]: *** [world_light.o] Error 1
make[1]: Leaving directory `/home/patrick/src/Gem/src/Nongeos'
make: *** [subdirs] Error 255

any idea?
thank you!
patrick




More information about the GEM-dev mailing list