From 19e7fce9b415f57d2477bed47b5ebc9eb8fc1d4d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 11 Jan 2022 07:59:04 +0200 Subject: Add note on MSVC warning C4819 --- libbuild2/cc/compile-rule.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbuild2/cc') diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx index e55754a..29b32c6 100644 --- a/libbuild2/cc/compile-rule.cxx +++ b/libbuild2/cc/compile-rule.cxx @@ -3015,6 +3015,8 @@ namespace build2 // // So seeing that it is hard to trigger a legitimate VC preprocessor // warning, for now, we will just treat them as errors by adding /WX. + // BTW, another example of a plausible preprocessor warning is C4819 + // (character unrepresentable in source charset). // // Finally, if we are using the module mapper, then all this mess falls // away: we only run the compiler once, we let the diagnostics through, -- cgit v1.1