diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2022-07-08 11:43:57 -0700 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-01-03 14:49:02 -0500 |
commit | b9ef66292602349c7a48d8779355bdc87cfc06fa (patch) | |
tree | 32c2b6a370a1debddbd40c3155bedfa300e633ae /mesonbuild/compilers | |
parent | 11b9ad2e29aa3b0a273a94379b18f2e429b3b555 (diff) | |
download | meson-b9ef66292602349c7a48d8779355bdc87cfc06fa.tar.gz |
reformat some warnings for better code readability
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r-- | mesonbuild/compilers/cpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 496d6c107..7296626a9 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -58,7 +58,7 @@ def non_msvc_eh_options(eh: str, args: T.List[str]) -> None: if eh == 'none': args.append('-fno-exceptions') elif eh in {'s', 'c'}: - mlog.warning('non-MSVC compilers do not support ' + eh + ' exception handling.' + + mlog.warning(f'non-MSVC compilers do not support {eh} exception handling. ' 'You may want to set eh to \'default\'.') class CPPCompiler(CLikeCompiler, Compiler): |