diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-01-11 07:59:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-01-11 07:59:04 +0200 |
commit | 19e7fce9b415f57d2477bed47b5ebc9eb8fc1d4d (patch) | |
tree | 045e87379426e18cf1efc31548325c4cbd670ef8 /libbuild2/cc | |
parent | fde8b3459fe4c8a34bc58a03918c2d5e6a5dbf97 (diff) |
Add note on MSVC warning C4819
Diffstat (limited to 'libbuild2/cc')
-rw-r--r-- | libbuild2/cc/compile-rule.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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, |