Hi Robert,
Thanks for the suggestion. Perhaps it'd be best to move all the code
to use putenv.
Temporarily I've checked in a #ifndef _WIN32 block around the offending
code.
Robert.
Why does MS use _putenv rather than putenv?
you can use putenv from stdlib.h but you´ll get the following warning
and the answer to your question:
warning C4996: 'putenv' was declared deprecated
c:\programme\microsoft visual studio 8\vc\include\stdlib.h(822)
: see declaration of 'putenv'
Message: 'The POSIX name for this item is deprecated. Instead,
use the ISO C++ conformant name: _putenv. See online help for details.'
Uwe
--
\\\|/// *HLRS, High Performance Computing Center Stuttgart*
_I_ ( o o ) *Visualization/VR* _I_
([EMAIL
PROTECTED])--oo0O--(_)--O0oo------------------------------------------([EMAIL
PROTECTED])
| | Uwe Woessner [EMAIL PROTECTED] | |
| | .ooo0 http://www.hlrs.de/people/woessner/ | |
|_| ( ) Oooo. Phone: +49-711-6856-5790 or ...-5970 |_|
([EMAIL PROTECTED])-------\ (---(
)-----------------------------------------([EMAIL PROTECTED])
I \_) ) / I
(_/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/