|
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-05-06 12:31:27
> This test is failing on numerous platforms, some for the fact that
> "putenv" takes a non-const char* (Linux, Solaris, perhaps others).
>From current regression results it seems that putenv is not an issue anymore
. Almost. The only compiler that doesn't know about neither putenv nor
setenv Cameau. Any help?
> Attached is a patch for environment.ipp which changes it to use the
> setenv function on non-Windows systems. I believe this is a POSIX
> standard function (via BSD).
I could switch to setenv (actually it's more natural for my puroses). But
this is not my primary problem at the moment.
> I think this cleans up the code a bit, removing the raising of
> getenv/putenv into namespace std, when they are I think clearly
> non-std functions.
If I am not mistaken getenv is. Anyway I switched to "using namespace std"
and it shouldn't be an issue anymore.
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk