diff --git a/.waf-tools/default-compiler-flags.py b/.waf-tools/default-compiler-flags.py index 4e09a82..82632d6 100644 --- a/.waf-tools/default-compiler-flags.py +++ b/.waf-tools/default-compiler-flags.py @@ -222,6 +222,9 @@ def getGeneralFlags(self, conf): elif Utils.unversioned_sys_platform() == 'freebsd': # Bug #4790 flags['CXXFLAGS'] += [['-isystem', '/usr/local/include']] + if self.getCompilerVersion(conf) >= (18, 0, 0): + # Bug #5300 + flags['CXXFLAGS'] += ['-Wno-enum-constexpr-conversion'] return flags __cxxFlags = [