diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-12-12 13:43:33 -0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2019-12-13 09:57:05 -0500 |
commit | 7f0224fb888cfe28d1e4ad913f33b8eb085eb83b (patch) | |
tree | 500172c05b0aec5b065c7fbe1f1b5313349c5242 /mesonbuild/compilers/cpp.py | |
parent | 614372aa556a08da2ffacce271dc7ba094ef58a9 (diff) | |
download | meson-7f0224fb888cfe28d1e4ad913f33b8eb085eb83b.zip meson-7f0224fb888cfe28d1e4ad913f33b8eb085eb83b.tar.gz meson-7f0224fb888cfe28d1e4ad913f33b8eb085eb83b.tar.bz2 |
compilers: make use of mlog.log_once
I'm sure there are other places that could use this, but I didn't see
any right off that bat.
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-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 6d45a84..9e9e78e 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -484,7 +484,7 @@ class CPP11AsCPP14Mixin: # if one is using anything before that point, one cannot set the standard. if options['cpp_std'].value in {'vc++11', 'c++11'}: mlog.warning(self.id, 'does not support C++11;', - 'attempting best effort; setting the standard to C++14') + 'attempting best effort; setting the standard to C++14', once=True) # Don't mutate anything we're going to change, we need to use # deepcopy since we're messing with members, and we can't simply # copy the members because the option proxy doesn't support it. |