Trac support request #597

<http://svn.boost.org/trac/boost/ticket/597> Non-basic-source-character-set characters conflict with MSVC There exist high-ascii characters in the Boost sources that cannot be converted to the local region for a given computer because the context of the originating region of the source is not known. Thus, these high-ascii characters may not have a proper mapping, and a warning will be emitted by MSVC 2003 and 2005. This should be considered a failure case because, though low, it is still emitting an alert. Thus, without the correct region set on your system, the Boost sources fail to build. I believe all the characters referenced are in comments. Is this worth fixing? Does anyone care? It appears that 90% of problem is the copyright symbol. A quick grep of the boost header files shows about 34 instances of '©', changing them to '(c)' would be easy. The rest of the problem are in author's names, for example see Jaako's name in <boost/utility/enable_if.hpp". My recommendation is to close this as "wont fix". -- -- Marshall Marshall Clow Idio Software <mailto:marshall@idio.com> It is by caffeine alone I set my mind in motion. It is by the beans of Java that thoughts acquire speed, the hands acquire shaking, the shaking becomes a warning. It is by caffeine alone I set my mind in motion.

Marshall Clow wrote:
<http://svn.boost.org/trac/boost/ticket/597>
Non-basic-source-character-set characters conflict with MSVC
[...] FWIW, I just committed a spelling fix for my surname. Markus

Marshall Clow wrote:
<http://svn.boost.org/trac/boost/ticket/597>
Non-basic-source-character-set characters conflict with MSVC
[...]
It appears that 90% of problem is the copyright symbol. A quick grep of the boost header files shows about 34 instances of '©', changing them to '(c)' would be easy.
The rest of the problem are in author's names, for example see Jaako's name in <boost/utility/enable_if.hpp".
My recommendation is to close this as "wont fix".
Could it be better/fixed if add a #pragma warning (disable : 4819) in vc's config file boost/config/compiler/visualc.hpp? IMO, although the compiling warning generated by these characters are harmless, the annoying thing is that it could drown other useful warnings.
participants (3)
-
gchen
-
Markus Schöpflin
-
Marshall Clow