Got a build warning here ... It looks like Microsoft has a philosophical
problem with people using the xsgetn() method. Maybe we should add the
_SCL_SECURE_NO_WARNINGS define to the build settings for this project. What
do you think?
J.
------ Build started: Project: osgPlugin net, Configuration: Release Win32
------
Compiling...
sockstream.cpp
c:\projects\openscenegraph-svn\openscenegraph\src\osgplugins\net\sockstream.h(324)
: warning C4996: 'std::basic_streambuf<_Elem,_Traits>::xsgetn': Function call
with parameters that may be unsafe - this call relies on the caller to check
that the passed values are correct. To disable this warning, use
-D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked
Iterators'
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
C:\Program Files\Microsoft Visual Studio 8\VC\include\streambuf(324) : see
declaration of 'std::basic_streambuf<_Elem,_Traits>::xsgetn'
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/