[osg-users] solaris build error -- sockinet.cpp

Andy Skinner Andy.Skinner at mathworks.com
Tue Sep 18 06:30:42 PDT 2007


David Callu added the throw() as a warning fix.

 

Could it be that this needs to be conditional?  He needed it under Linux
because it was producing a warning.

 

But in my Solaris build, there is (somewhere) a definition that doesn't
include that throw, and I can't build anymore.

 

andy

 

 

________________________________

From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Andy
Skinner
Sent: Monday, September 17, 2007 2:48 PM
To: OpenSceneGraph Users
Subject: [osg-users] solaris build error -- sockinet.cpp

 

In building solaris, I am getting an error in
src/osgPlugins/net/sockinet.cpp.

 

It says that the prior declaration for herror(const char*) has no
exception specification. 

 

The line is:

void hereror(const char*) throw();

 

I'm not sure what has changed in this file since I built it last.

 

andy

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070918/833f9d05/attachment-0003.htm>


More information about the osg-users mailing list