Opened 14 years ago

Closed 14 years ago

#2160 closed Bugs (worksforme)

error compiling test_main.cpp on msvc-9.0express

Reported by: ryan.gallagher@… Owned by: Gennadiy Rozental
Milestone: Boost 1.36.0 Component: test
Version: Boost Release Branch Severity: Problem
Keywords: Cc:

Description

Build: boost 1.36.0 beta

To Repro:
1) Build bjam from the beta release
2) Setup site-config.jam to use msvc-9.0express.
3) Update BOOST_ROOT to point to beta boost tree's root.
4) Invoked bjam.exe from the boost root with no arguments.

Expected results:

  • All targets should build successfully

Actual result:

  • "...failed updating 1 target...", namely test_main.obj

Output:
"""
compile-c-c++ C:\Users\Ryan\Code\Boost\boost_1_36_beta\bin.v2\libs\test\build\ms vc-9.0express\debug\asynch-exceptions-on\link-static\threading-multi\test_main.o bj test_main.cpp C:\Users\Ryan\Code\Boost\boost_1_36_beta\boost/test/unit_test_suite.hpp(82) : error C2018: unknown character '0x12'

call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 >nul

cl /Zm800 -nologo @"C:\Users\Ryan\Code\Boost\boost_1_36_beta\bin.v2\libs\test\build\msvc-9.0express\debug\asynch-exceptions-on\link-static\threading-multi\test_main.obj.rsp"

...failed compile-c-c++ C:\Users\Ryan\Code\Boost\boost_1_36_beta\bin.v2\libs\test\build\msvc-9.0express\debug\asynch-exceptions-on\link-static\threading-multi\test_main.obj...
...skipped <pC:\Users\Ryan\Code\Boost\boost_1_36_beta\bin.v2\libs\test\build\msvc-9.0express\debug\asynch-exceptions-on\link-static\threading-multi>libboost_test_exec_monitor-vc90-mt-gd-1_36.lib for lack of <pC:\Users\Ryan\Code\Boost\boost_ 1_36_beta\bin.v2\libs\test\build\msvc-9.0express\debug\asynch-exceptions-on\link-static\threading-multi>test_main.obj...
...failed updating 1 target...
...skipped 1 target...
"""

.rsp file:
"""
"C:\Users\Ryan\Code\Boost\boost_1_36_beta\libs\test\src\test_main.cpp" -Fo"C:\Users\Ryan\Code\Boost\boost_1_36_beta\bin.v2\libs\test\build\msvc-9.0express\debug\asynch-exceptions-on\link-static\threading-multi\test_main.obj" -TP /Z7 /Od /Ob0 /W3 /GR /MDd /Zc:forScope /Zc:wchar_t /wd4675 /EHa -c -DBOOST_ALL_NO_LIB=1
"-IC:\Users\Ryan\Code\Boost\boost_1_36_beta"
"""

Change History (1)

comment:1 by Gennadiy Rozental, 14 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.