diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-01-17 10:45:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-01-17 10:45:06 +0200 |
commit | ef6a70de5d0bc252380ebcb21eb84913473ead5d (patch) | |
tree | bb27438ea5a0afa69f6db5a9b55b367972dec63e /NEWS | |
parent | 54c56af1067df562c232cb73b9a1b85f67d9bbf1 (diff) |
Use UTF-8 as default input/source charset for C/C++ compilation
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,18 @@ Version 0.15.0 + * UTF-8 is now the default input/source character set for C/C++ compilation. + + Specifically, the cc module now passes the appropriate compiler option + (/utf-8 for MSVC and -finput-charset=UTF-8 for GCC and Clang) unless a + custom value is already specified (with /{source,execution}-charset for + MSVC and -finput-charset for GCC and Clang). + + This change may trigger new compilation errors in your source code if + it's not valid UTF-8 (such errors most commonly point into comments). + For various ways to fix this, see: + + https://github.com/build2/HOWTO/blob/master/entries/convert-source-files-to-utf8.md + * Support for dynamic dependencies in ad hoc recipes. Specifically, the `depdb` builtin now has the new `dyndep` command that |