aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
diff options
context:
space:
mode:
authorChun-wei Fan <fanc999@yahoo.com.tw>2023-01-10 15:28:37 +0800
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2023-02-07 15:32:22 +0530
commit9bbceeee068190b2a7a622b368d7a4d54385fb22 (patch)
treea7188c27cd5116350145c16b098d606ce3a96d4a /mesonbuild/compilers/cpp.py
parent4fa5b2ee42adfb8120ae329b10cd9a85b0ae5740 (diff)
downloadmeson-9bbceeee068190b2a7a622b368d7a4d54385fb22.zip
meson-9bbceeee068190b2a7a622b368d7a4d54385fb22.tar.gz
meson-9bbceeee068190b2a7a622b368d7a4d54385fb22.tar.bz2
Visual Studio: Drop /utf-8 if it is not supported
We assume /utf-8 for all C builds unless /source-charset or /execution-charset is specified, but then this will cause trouble for Visual Studio 2013 or earler since the /utf-8 flag is only supported since Visual Studio 2015. Specifically, if we try to check whether compiler flags are supported, those checks will fail since /utf-8 is never supported on these older Visual Studio versions. Drop /utf-8 from get_always_args() if we are using Visual Studio 2013 or earlier.
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
0 files changed, 0 insertions, 0 deletions