Subject: [Boost-bugs] [Boost C++ Libraries] #4682: Compile issue with putenv using gcc-mingw-4.5.0 C++0x
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-09-24 07:53:16
#4682: Compile issue with putenv using gcc-mingw-4.5.0 C++0x
-------------------------------------+--------------------------------------
Reporter: viboes | Owner: rogeeff
Type: Bugs | Status: new
Milestone: Boost-1.45.0 | Component: test
Version: Boost Development Trunk | Severity: Showstopper
Keywords: |
-------------------------------------+--------------------------------------
Using gcc-mingw-4.5.0 C++0x
After
{{{
> cd libs/test/build
> bjam toolset=gcc cxxflags="-std=c++0x"
}}}
I get the following compile error
{{{
gcc.compile.c++ ..\..\..\bin.v2\libs\test\build\gcc-mingw-4.5.0\debug
\link-static\unit_test_parameters.o
In file included from
..\..\../boost/test/utils/runtime/cla/dual_name_parameter.hpp:19:0,
from
..\..\../boost/test/impl/unit_test_parameters.ipp:31,
from ..\src\unit_test_parameters.cpp:16:
..\..\../boost/test/utils/runtime/config.hpp: In function 'void
boost::runtime::putenv_impl(boost::runtime::cstring,
boost::runtime::cstring)':
..\..\../boost/test/utils/runtime/config.hpp:95:51: error: 'putenv' was
not declared in this scope
"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g
-std=c++0x -DBOOST_ALL_NO_LIB=1 -I"..\..\.." -c -o
"..\..\..\bin.v2\libs\test\build\gcc-mingw-4.5.0\debug\link-
static\unit_test_parameters.o" "..\src\unit_test_parameters.cpp"
...failed gcc.compile.c++ ..\..\..\bin.v2\libs\test\build\gcc-
mingw-4.5.0\debug\link-static\unit_test_parameters.o...
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4682> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC