|
From: Eric E. <eri...@na...> - 2008-03-04 11:25:01
|
Hi All, On Mon, February 25, 2008 4:53 pm, Luigi Ballabio wrote: > On Sun, 2008-02-24 at 23:38 +0000, Eric Ehlers wrote: >> At present, non-ASCII characters (>128, aka extended ASCII) >> appear in various comments and literal strings in the source code >> >> Some possible courses of action: >> 1) Restrict ourselves to the ASCII character set >> 2) Convert all source code files to Unicode format >> 3) Disable C4819 >> 4) Do nothing and as today leave affected parties to work around the >> problem by implementing one of the above as a local hack > > Hmm. (3) seems strangely appealing... > > Luigi It turns out, (3) doesn't work, at least not with "pragma warning disable". When you load a cpp file containing a non-ASCII character, the compiler hits the problem character before it sees the pragma directive, so C4819 still appears everywhere. The only way to disable the warning is to add /wd4819 to the compiler settings - any objection if I make that change? Regards, Eric |