------- Comment #5 from charles dot w dot lambert at gmail dot com 2008-02-27 18:20 ------- I also forgot to add that changing to ... #elif (defined (__vxworks) && defined (__RTP__)) \ || defined (__APPLE__) setenv (name, value, 1);
#else ... would involve changing ... putenv (expression); #if (defined (__FreeBSD__) && (__FreeBSD__ < 7)) \ || defined (__APPLE__) || defined (__MINGW32__) \ ||(defined (__vxworks) && ! defined (__RTP__)) /* On some systems like FreeBSD 6.x and earlier, MacOS X and Windows, putenv is making a copy of the expression string so we can free it after the call to putenv */ free (expression); #endif ... to ... putenv (expression); #if (defined (__FreeBSD__) && (__FreeBSD__ < 7)) \ defined (__MINGW32__) \ ||(defined (__vxworks) && ! defined (__RTP__)) /* On some systems like FreeBSD 6.x and earlier, and Windows, putenv is making a copy of the expression string so we can free it after the call to putenv */ free (expression); #endif ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33857