I try again.
I compile the bcp with mingw and it pass, but compiling with vc7.1 it fail.
The error is:
licence_info.cpp(18) : error C2001: newline in constant
CALL "C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\bin\VCVARS32.BAT" >nul
"C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\bin\cl"
/Zm800 -nologo /EHsc -c -DNDEBUG -DNDEBUG -DBOOST_REGEX_NO_LIB=1 /Ogity
/O2 /Gs /Ob2 /EHsc /GR /MD /Op /wd4675 /Zc:forScope
Zc:wchar_t -I"..\..\bin\boost\tools\bcp" -I"C:\opt\boost" -Fo"..\..\bin
\boost\tools\bcp\bcp.exe\vc-7_1\release\threading-multi\licence_info.obj" -
Tp"licence_info.cpp"
...failed vc-C++
..\..\bin\boost\tools\bcp\bcp.exe\vc-7_1\release\threading-multi\licence_inf
o.obj...
I think it is not the vc7.1's fault. I refer to the MSDN and the book of
"the C++ programming language"
The standard c++ do not accept the grammar
printf("Hello, // error
world");
printf("Hello,\n // error
world");
only accept the grammar
printf("Hello,\ // OK
world");
printf("Hello," // OK
" world");
I think what the code want to do is concatenating all the string literal.
May I am wrong since I find all the other string literal encircling with
quatation("") but the line 18 is not.
In any cases it can not works with vc7.1.
----- Original Message -----
From: "John Maddock"
The original line 18 is (pay attention the correspond the parentheses) "Copyright|\\(c\\)|? I compile bcp with vc71 toolset and fails. I change this line with "Copyright|\\(c\\)|?" It's OK.
I also check the code in the CVS, This error is not corrected.
Builds OK for me, the actual line is not as you quote it's:
"Copyright|\\(c\\)|?"
Note the copyright symbol and not a ?.
I wonder is this a multi-byte string issue?
John.
---------------------------------------------------------------------------- ----
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users