I get the following error when trying to compile OpenSG 1.4 optimized on Linux with gcc 3.4.2 (FC3), debug works fine.

Any ideas?

-Allen

-----------------------------
gmake[2]: Entering directory `/home/allenb/Source/OpenSG/Builds/i686-pc-linux-gnu-g++/SystemLib'
/home/allenb/Source/OpenSG/Common/commonBuildDetect.mk:39: Detected OPT
/home/allenb/Source/OpenSG/Common/commonBuildDetect.mk:59: Detected Shared Lib
using BD = /home/allenb/Source/OpenSG/Source
g++ -Wall -W -Wpointer-arith -Wcast-align -Wconversion -Winline -Wno-unused -Wno-long-long -Wno-reorder -Wno-sign-compare -D_GNU_SOURCE -DQT_CLEAN_NAMESPACE -DOSG_WITH_GLUT -DOSG_WITH_QT -DOSG_WITH_TIF -DOSG_WITH_JPG -DOSG_WITH_PNG -DOSG_WITH_GIF -DOSG_WITH_FREETYPE1 -D_OSG_HAVE_CONFIGURED_H_ -DQT_NO_XINERAMA -DQT_NO_XRENDER -DQT_NO_XFTFREETYPE -DQT_NO_XKB -DQT_NO_SM_SUPPORT -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_MAC -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_COMPACT -ansi -use_readonly_const -ftemplate-depth-100 -O2 -c -I"../Base" -I/home/allenb/Source/OpenSG/Builds/i686-pc-linux-gnu-g++/BaseLib -I/usr/include/freetype1/freetype -I$BD/Base/Base -I$BD/Base/Field -I$BD/Base/Functors -I$BD/Base/Network/Base -I$BD/Base/Network/Socket -I$BD/Base/StringConversion -I$BD/Base/Xml -I$BD/Experimental/NativeFileIO -I$BD/Experimental/NewAction/Actors -I$BD/Experimental/NewAction -I$BD/Experimental/SHL -I$BD/Experimental/ShadowMapViewport -I$BD/Experimental/Text -I$BD/Experimental/WebInterface -I$BD/System/Action/DrawAction -I$BD/System/Action/IntersectAction -I$BD/System/Action/RenderAction -I$BD/System/Action -I$BD/System/Cluster/Base -I$BD/System/Cluster/Server -I$BD/System/Cluster/Window/Base -I$BD/System/Cluster/Window/MultiDisplay -I$BD/System/Cluster/Window/SortFirst -I$BD/System/Cluster/Window/SortLast -I$BD/System/FieldContainer/Impl -I$BD/System/FieldContainer -I$BD/System/FileIO/3DS -I$BD/System/FileIO/BIN -I$BD/System/FileIO/Base -I$BD/System/FileIO/DXF -I$BD/System/FileIO/OBJ -I$BD/System/FileIO/OFF -I$BD/System/FileIO/OSG -I$BD/System/FileIO/RAW -I$BD/System/FileIO/SLP -I$BD/System/FileIO/ScanParseSkel -I$BD/System/FileIO/WRL -I$BD/System/GraphOp -I$BD/System/Image -I$BD/System/Material -I$BD/System/NodeCores/Drawables/Base -I$BD/System/NodeCores/Drawables/Geometry -I$BD/System/NodeCores/Drawables/Misc -I$BD/System/NodeCores/Drawables/Nurbs/Internal -I$BD/System/NodeCores/Drawables/Nurbs -I$BD/System/NodeCores/Drawables/Particles -I$BD/System/NodeCores/Drawables/VolRen -I$BD/System/NodeCores/Groups/Base -I$BD/System/NodeCores/Groups/Light -I$BD/System/NodeCores/Groups/Misc -I$BD/System/RenderingBackend -I$BD/System/State -I$BD/System/Statistics -I$BD/System/Window \
-Iobj-opt -I.                                           \
-o obj-opt/OSGSceneFileHandler.o /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGSceneFileHandler.cpp In file included from /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.h:301, from /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGSceneFileHandler.cpp:58: /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl: In member function `int osg::basic_zip_streambuf<charT, traits>::sync()': /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:63: error: there are no arguments to `pptr' that depend on a template parameter, so a declaration of `pptr' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:63: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:63: error: there are no arguments to `pptr' that depend on a template parameter, so a declaration of `pptr' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:63: error: there are no arguments to `pbase' that depend on a template parameter, so a declaration of `pbase' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl: In member function `typename osg::basic_zip_streambuf<charT, traits>::int_type osg::basic_zip_streambuf<charT, traits>::overflow(int)': /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:85: error: there are no arguments to `pptr' that depend on a template parameter, so a declaration of `pptr' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:85: error: there are no arguments to `pbase' that depend on a template parameter, so a declaration of `pbase' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:88: error: there are no arguments to `pptr' that depend on a template parameter, so a declaration of `pptr' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:91: error: there are no arguments to `pbase' that depend on a template parameter, so a declaration of `pbase' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:93: error: there are no arguments to `pbase' that depend on a template parameter, so a declaration of `pbase' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:93: error: there are no arguments to `epptr' that depend on a template parameter, so a declaration of `epptr' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl: In constructor `osg::basic_unzip_streambuf<charT, traits>::basic_unzip_streambuf(std::basic_istream<_CharT, _Traits>&, int, size_t, size_t)': /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:289: error: there are no arguments to `setg' that depend on a template parameter, so a declaration of `setg' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl: In member function `typename osg::basic_unzip_streambuf<charT, traits>::int_type osg::basic_unzip_streambuf<charT, traits>::underflow()': /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:309: error: there are no arguments to `gptr' that depend on a template parameter, so a declaration of `gptr' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:309: error: there are no arguments to `gptr' that depend on a template parameter, so a declaration of `gptr' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:309: error: there are no arguments to `egptr' that depend on a template parameter, so a declaration of `egptr' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:310: error: there are no arguments to `gptr' that depend on a template parameter, so a declaration of `gptr' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:312: error: there are no arguments to `gptr' that depend on a template parameter, so a declaration of `gptr' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:312: error: there are no arguments to `eback' that depend on a template parameter, so a declaration of `eback' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:317: error: there are no arguments to `gptr' that depend on a template parameter, so a declaration of `gptr' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:331: error: there are no arguments to `setg' that depend on a template parameter, so a declaration of `setg' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:334: error: there are no arguments to `gptr' that depend on a template parameter, so a declaration of `gptr' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl: In member function `osg::basic_zip_ostream<charT, traits>& osg::basic_zip_ostream<charT, traits>::add_header()': /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:550: error: there are no arguments to `get_ostream' that depend on a template parameter, so a declaration of `get_ostream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl: In member function `osg::basic_zip_ostream<charT, traits>& osg::basic_zip_ostream<charT, traits>::add_footer()': /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:575: error: there are no arguments to `get_crc' that depend on a template parameter, so a declaration of `get_crc' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:578: error: there are no arguments to `get_ostream' that depend on a template parameter, so a declaration of `get_ostream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:582: error: there are no arguments to `get_in_size' that depend on a template parameter, so a declaration of `get_in_size' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:585: error: there are no arguments to `get_ostream' that depend on a template parameter, so a declaration of `get_ostream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl: In constructor `osg::basic_zip_istream<charT, traits>::basic_zip_istream(std::basic_istream<_CharT, _Traits>&, int, size_t, size_t)': /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:619: error: there are no arguments to `get_zerr' that depend on a template parameter, so a declaration of `get_zerr' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl: In member function `bool osg::basic_zip_istream<charT, traits>::check_crc()': /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:644: error: there are no arguments to `get_crc' that depend on a template parameter, so a declaration of `get_crc' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl: In member function `bool osg::basic_zip_istream<charT, traits>::check_data_size() const': /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:653: error: there are no arguments to `get_out_size' that depend on a template parameter, so a declaration of `get_out_size' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl: In member function `int osg::basic_zip_istream<charT, traits>::check_header()': /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:690: error: there are no arguments to `get_zip_stream' that depend on a template parameter, so a declaration of `get_zip_stream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:695: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:699: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:702: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:712: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:713: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:722: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:727: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:728: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:730: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:735: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:740: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:745: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:747: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl: In member function `void osg::basic_zip_istream<charT, traits>::read_footer()': /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:763: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available /home/allenb/Source/OpenSG/Source/System/FileIO/Base/OSGZStream.inl:767: error: there are no arguments to `get_istream' that depend on a template parameter, so a declaration of `get_istream' must be available
gmake[2]: *** [obj-opt/OSGSceneFileHandler.o] Error 1
using BD = /home/allenb/Source/OpenSG/Source



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to