I am not using pre-compiled headers for my build. Is it necessary to
use them to avoid the warnings? I am not very familiar with PCH, can
you point me to some links /references which talk in detail about PCH
(Sorry for asking windows specific question in this forum but I guess
things are related :-) )
?
>>#pragma warning(disable : 4275 4267 4244 4231)
AFAIK doing above will only disable the warning. Isn't there a clean
and right way of doing this ? Is this warning ignorable really?
Thanks for the reply,
Divick
Marcus Lindblom wrote:
Hi Divick,
I have wrapped my osg-includes (which I put into a PCH) with:
#pragma warning(disable : 4275 4267 4244 4231)
#pragma warning(push, 1)
...
#pragma warning(pop)
This takes care of most of these issues.
/Marcus
Divick Kishore wrote:
Hi all,
I have written an application which uses OpenSG for rendering.
When I compile my application, I get lots of compilation warnings. I am
using VC.NET2003 compiler (i.e. VC7) on Window XP. The type of warnings
that are shown by VC7 are shown below:
c:\trees\3dviewerapp\thirdparty\OpenSG\include\OpenSG\OSGSFBaseTypes.h(66)
: warning C4231: nonstandard extension used : 'extern' before template
explicit instantiation
And the line in OSGSFBaseTypes.h at 66 is shown below
#ifndef OSG_COMPILEFIELDINST
OSG_DLLEXPORT_DECL1(SField, std::string, OSG_BASE_DLLTMPLMAPPING) //is
the line 66
#endif
There are almost 242 such warnings and all of them point to some line
starting with OSG_DLLEXPORT_DECL1.
Is there some preprocessor declaration that I am missing or is it
something else?
Thanks,
Divick
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
|
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users