
----- Original Message ----- From: "vicente.botet" <vicente.botet@wanadoo.fr> To: <boost@lists.boost.org> Sent: Wednesday, November 17, 2010 11:31 PM Subject: Re: [boost] [1.45] Beta 1 release candidates
mingw gcc 4.50 Build is OK.
There are some errors on Boost.Test when I build gcc-mingw-4.5.0 with c++0x. C:\cygwin\boost\v45>bjam -j2 toolset=gcc --built-type=complete --layout=versioned cxxflags="-std=c++0x" Vicente Building the Boost C++ Libraries. warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user-config.jam warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam. note: to suppress this message, pass "--without-mpi" to bjam. note: otherwise, you can safely ignore this message. warning: No python installation configured and autoconfiguration note: failed. See http://www.boost.org/libs/python/doc/building.html note: for configuration instructions or pass --without-python to note: suppress this message and silently skip all Boost.Python targets warning: Unable to construct ./stage-unversioned warning: Unable to construct ./stage-unversioned ...patience... ...patience... ...patience... ...found 5849 targets... ...updating 22 targets... gcc.compile.c++ bin.v2\libs\program_options\build\gcc-mingw-4.5.0\debug\link-static\threading-multi\parsers.o libs\program_options\src\parsers.cpp: In function 'boost::program_options::parsed_options boost::program_options::parse_environment(const boost::program_options::options_description&, const boost::function1<std::basic_string<char>, std::basic_string<char> >&)': libs\program_options\src\parsers.cpp:190:36: error: 'environ' was not declared in this scope "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -mthreads -std=c++0x -DBOOST_ALL_NO_LIB=1 -I"." -c -o "bin.v2\libs\program_options\build\gcc-mingw-4.5.0\debug\link-static\threading-multi\parsers.o" "libs\program_options\src\parsers.cpp" ...failed gcc.compile.c++ bin.v2\libs\program_options\build\gcc-mingw-4.5.0\debug\link-static\threading-multi\parsers.o... ...skipped <pbin.v2\libs\program_options\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>libboost_program_options-mgw45-mt-d-1_45.a(clean) for lack of <pbin.v2\libs\program_options\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>parsers.o... ...skipped <pbin.v2\libs\program_options\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>libboost_program_options-mgw45-mt-d-1_45.a for lack of <pbin.v2\libs\program_options\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>parsers.o... ...skipped <pstage\lib>libboost_program_options-mgw45-mt-d-1_45.a for lack of <pbin.v2\libs\program_options\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>libboost_program_options-mgw45-mt-d-1_45.a... gcc.compile.c++ bin.v2\libs\test\build\gcc-mingw-4.5.0\debug\link-static\threading-multi\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 libs\test\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 -mthreads -std=c++0x -DBOOST_ALL_NO_LIB=1 -I"." -c -o "bin.v2\libs\test\build\gcc-mingw-4.5.0\debug\link-static\threading-multi\unit_test_parameters.o" "libs\test\src\unit_test_parameters.cpp" ...failed gcc.compile.c++ bin.v2\libs\test\build\gcc-mingw-4.5.0\debug\link-static\threading-multi\unit_test_parameters.o... ...skipped <pbin.v2\libs\test\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>libboost_test_exec_monitor-mgw45-mt-d-1_45.a(clean) for lack of <pbin.v2\libs\test\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>unit_test_parameters.o... ...skipped <pbin.v2\libs\test\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>libboost_test_exec_monitor-mgw45-mt-d-1_45.a for lack of <pbin.v2\libs\test\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>unit_test_parameters.o... ...skipped <pstage\lib>libboost_test_exec_monitor-mgw45-mt-d-1_45.a for lack of <pbin.v2\libs\test\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>libboost_test_exec_monitor-mgw45-mt-d-1_45.a... ...skipped <pbin.v2\libs\test\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>libboost_unit_test_framework-mgw45-mt-d-1_45.a(clean) for lack of <pbin.v2\libs\test\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>unit_test_parameters.o... ...skipped <pbin.v2\libs\test\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>libboost_unit_test_framework-mgw45-mt-d-1_45.a for lack of <pbin.v2\libs\test\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>unit_test_parameters.o... ...skipped <pstage\lib>libboost_unit_test_framework-mgw45-mt-d-1_45.a for lack of <pbin.v2\libs\test\build\gcc-mingw-4.5.0\debug\link-static\threading-multi>libboost_unit_test_framework-mgw45-mt-d-1_45.a... gcc.compile.c++ bin.v2\libs\program_options\build\gcc-mingw-4.5.0\release\link-static\threading-multi\parsers.o libs\program_options\src\parsers.cpp: In function 'boost::program_options::parsed_options boost::program_options::parse_environment(const boost::program_options::options_description&, const boost::function1<std::basic_string<char>, std::basic_string<char> >&)': libs\program_options\src\parsers.cpp:190:36: error: 'environ' was not declared in this scope In file included from ./boost/function/detail/prologue.hpp:17:0, from ./boost/function/function_template.hpp:13, from ./boost/function/detail/maybe_include.hpp:18, from ./boost/function/function1.hpp:11, from ./boost/program_options/value_semantic.hpp:13, from ./boost/program_options/options_description.hpp:13, from ./boost/program_options/detail/cmdline.hpp:14, from ./boost/program_options/parsers.hpp:12, from libs\program_options\src\parsers.cpp:11: ./boost/function/function_base.hpp: In static member function 'static void boost::detail::function::functor_manager_common<Functor>::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::program_options::detail::prefix_name_mapper]': ./boost/function/function_base.hpp:360:11: instantiated from 'static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::program_options::detail::prefix_name_mapper, mpl_::true_ = mpl_::bool_<true>]' ./boost/function/function_base.hpp:406:11: instantiated from 'static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::program_options::detail::prefix_name_mapper]' ./boost/function/function_base.hpp:434:13: instantiated from 'static void boost::detail::function::functor_manager<Functor>::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::program_options::detail::prefix_name_mapper]' ./boost/function/function_template.hpp:913:60: instantiated from 'void boost::function1<R, T1>::assign_to(Functor) [with Functor = boost::program_options::detail::prefix_name_mapper, R = std::basic_string<char>, T0 = std::basic_string<char>]' ./boost/function/function_template.hpp:722:7: instantiated from 'boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = boost::program_options::detail::prefix_name_mapper, R = std::basic_string<char>, T0 = std::basic_string<char>, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]' libs\program_options\src\parsers.cpp:233:74: instantiated from here ./boost/function/function_base.hpp:321:15: warning: dereferencing type-punned pointer will break strict-aliasing rules ./boost/function/function_base.hpp:325:13: warning: dereferencing type-punned pointer will break strict-aliasing rules "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -mthreads -std=c++0x -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o "bin.v2\libs\program_options\build\gcc-mingw-4.5.0\release\link-static\threading-multi\parsers.o" "libs\program_options\src\parsers.cpp" ...failed gcc.compile.c++ bin.v2\libs\program_options\build\gcc-mingw-4.5.0\release\link-static\threading-multi\parsers.o... ...skipped <pbin.v2\libs\program_options\build\gcc-mingw-4.5.0\release\link-static\threading-multi>libboost_program_options-mgw45-mt-1_45.a(clean) for lack of <pbin.v2\libs\program_options\build\gcc-mingw-4.5.0\release\link-static\threading-multi>parsers.o... ...skipped <pbin.v2\libs\program_options\build\gcc-mingw-4.5.0\release\link-static\threading-multi>libboost_program_options-mgw45-mt-1_45.a for lack of <pbin.v2\libs\program_options\build\gcc-mingw-4.5.0\release\link-static\threading-multi>parsers.o... ...skipped <pstage\lib>libboost_program_options-mgw45-mt-1_45.a for lack of <pbin.v2\libs\program_options\build\gcc-mingw-4.5.0\release\link-static\threading-multi>libboost_program_options-mgw45-mt-1_45.a... gcc.compile.c++ bin.v2\libs\test\build\gcc-mingw-4.5.0\release\link-static\threading-multi\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 libs\test\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 -O3 -finline-functions -Wno-inline -Wall -pedantic -mthreads -std=c++0x -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o "bin.v2\libs\test\build\gcc-mingw-4.5.0\release\link-static\threading-multi\unit_test_parameters.o" "libs\test\src\unit_test_parameters.cpp" ...failed gcc.compile.c++ bin.v2\libs\test\build\gcc-mingw-4.5.0\release\link-static\threading-multi\unit_test_parameters.o... ...skipped <pbin.v2\libs\test\build\gcc-mingw-4.5.0\release\link-static\threading-multi>libboost_test_exec_monitor-mgw45-mt-1_45.a(clean) for lack of <pbin.v2\libs\test\build\gcc-mingw-4.5.0\release\link-static\threading-multi>unit_test_parameters.o... ...skipped <pbin.v2\libs\test\build\gcc-mingw-4.5.0\release\link-static\threading-multi>libboost_test_exec_monitor-mgw45-mt-1_45.a for lack of <pbin.v2\libs\test\build\gcc-mingw-4.5.0\release\link-static\threading-multi>unit_test_parameters.o... ...skipped <pstage\lib>libboost_test_exec_monitor-mgw45-mt-1_45.a for lack of <pbin.v2\libs\test\build\gcc-mingw-4.5.0\release\link-static\threading-multi>libboost_test_exec_monitor-mgw45-mt-1_45.a... ...skipped <pbin.v2\libs\test\build\gcc-mingw-4.5.0\release\link-static\threading-multi>libboost_unit_test_framework-mgw45-mt-1_45.a(clean) for lack of <pbin.v2\libs\test\build\gcc-mingw-4.5.0\release\link-static\threading-multi>unit_test_parameters.o... ...skipped <pbin.v2\libs\test\build\gcc-mingw-4.5.0\release\link-static\threading-multi>libboost_unit_test_framework-mgw45-mt-1_45.a for lack of <pbin.v2\libs\test\build\gcc-mingw-4.5.0\release\link-static\threading-multi>unit_test_parameters.o... ...skipped <pstage\lib>libboost_unit_test_framework-mgw45-mt-1_45.a for lack of <pbin.v2\libs\test\build\gcc-mingw-4.5.0\release\link-static\threading-multi>libboost_unit_test_framework-mgw45-mt-1_45.a... ...failed updating 4 targets... ...skipped 18 targets...