Hi Patrick,
On Mon, 2005-12-12 at 14:12 -0600, Patrick Hartling wrote:
> I just updated to the latest CVS version of OpenSG a few hours ago, and when
> I built using GCC 4.0.2, I ran into a compile error in
> Source/System/FileIO/Base/OSGZStream.inl. The error is the following:
>
> .../OSGZStream.inl: In constructor 'osg::basic_zip_streambuf<charT,
> traits>::basic_zip_streambuf(std::basic_ostream<_CharT, _Traits>&, int,
> osg::EStrategy, int, int, size_t)':
> .../OSGZStream.inl:43: error: there are no arguments to 'setp' that depend
> on a template parameter, so a declaration of 'setp' must be available
> .../OSGZStream.inl:43: error: (if you use '-fpermissive', G++ will accept
> your code, but allowing the use of an undeclared name is deprecated)
>
> I have attached a patch that fixes the error. I am not sure why this is
> cropping up now since this particular file has not been modified in quite a
> long time. The only thing that I can think of is that this is the first time
> that I have built any version of OpenSG using GCC 4.0.2.
Thanks, fixed and committed. I'm not sure why it hasn't shown up
earlier, especially since the gcc4 dailybuild seems to work fine. :-?
Dirk
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users