Subject: [Boost-bugs] [Boost C++ Libraries] #10091: compile alt_sstream_impl.hpp got warning C4819 under MSVC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-04 09:33:58
#10091: compile alt_sstream_impl.hpp got warning C4819 under MSVC
-------------------------------------+---------------------------
Reporter: Jia-Jium Lee <jjlee3@â¦> | Owner: samuel_krempp
Type: Bugs | Status: new
Milestone: To Be Determined | Component: format
Version: Boost 1.55.0 | Severity: Problem
Keywords: |
-------------------------------------+---------------------------
I got a C4819 warning as below. This bug was in there even since boost
1.33.1 or earlier. This problem occurs in different version of VC++ and
different Windows.
4>D:\Code\boost\include\boost-1_55\boost/format/alt_sstream_impl.hpp :
warning C4819: The file contains a character that cannot be represented in
the current code page (950). Save the file in Unicode
It is cause by the comment "operation guaranteed by 27.4.3.2 table 88
".
If you check it by a binary editor, there is a codepoint 0xA7 before
"27.4.3.2". That codepoint will cause a problem in codepage 950 (Taiwan),
932 (Japan), 936 (China), 949 (Korea) under Windows.
The http://stackoverflow.com/questions/10501634/warning-c4819-how-to-find-
the-character-that-has-to-be-saved-in-unicode described the same problem.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10091> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC