diff options
author | Chun-wei Fan <fanc999@yahoo.com.tw> | 2023-01-10 15:28:37 +0800 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-02-19 02:55:58 +0530 |
commit | 12c1e13ea1176203242c0ac4d94001eb1b12bb1e (patch) | |
tree | 5c5d184b0485e8015d1290c2d81bfaa4abbe3d5a /docs/genrelnotes.py | |
parent | 5dcca393232b1f4a62b4110ae6dc26388a523a62 (diff) | |
download | meson-12c1e13ea1176203242c0ac4d94001eb1b12bb1e.zip meson-12c1e13ea1176203242c0ac4d94001eb1b12bb1e.tar.gz meson-12c1e13ea1176203242c0ac4d94001eb1b12bb1e.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 'docs/genrelnotes.py')
0 files changed, 0 insertions, 0 deletions