Boost logo

Boost Users :

From: Huifeng Shen (useradd_at_[hidden])
Date: 2005-12-18 19:33:38


----- Original Message -----
From: "John Maddock" <john_at_[hidden]>
To: <boost-users_at_[hidden]>
Sent: Sunday, December 18, 2005 6:27 PM
Subject: Re: [Boost-users] [boost] 1.33.1 [regex] compile with
vc2005express:fatal error C1071

>>> I got the error below
>>> ==============================
>>> vc-C++
>>> bin\boost\libs\regex\build\boost_regex.dll\vc-8_0\debug\threading-multi\regex_traits_defaults.obj
>>> regex_traits_defaults.cpp
>>> C:\opt\boost\libs\regex\build\../src/regex_traits_defaults.cpp :
>>> warning
>>> C4819: The file contains a character that cannot be represented in
>>> the
>>> current code page (936). Save the file in Unicode format to prevent
>>> data
>>> loss
>>> C:\opt\boost\libs\regex\build\../src/regex_traits_defaults.cpp(668) :
>>> warning C4819: The file contains a character that cannot be
>>> represented in
>>> the current code page (936). Save the file in Unicode format to
>>> prevent data
>>> loss
>>> C:\opt\boost\libs\regex\build\../src/regex_traits_defaults.cpp(690)
>>> : fatal
>>> error C1071: unexpected end of file found in comment
>
> It builds with VC8 express OK for me, but I think this relates to the code
> page used on your machine - it's interpreting some of the characters in
> the
> comments as the start of a multi-byte sequence, and that's why the closing
> */ isn't found (it is there it's just not interpretted as such).
>
> I'm attaching a version with the comments deleted, can you let me know if
> this fixes the issue?
>
> Thanks,
>
> John.
>

The attachment file still has the same problem. But I follow your hint and
delete all the comments at the end of line from line 432 to line 485(the
comments under euro symbol) and from line 627 to line 661 (also the comments
under euro symbol). the building succeeds.

Thank you for your help!

--------------------------------------------------------------------------------

> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net