--- a/src/config-store/wscript Sun Aug 26 11:01:00 2018 -0700
+++ b/src/config-store/wscript Wed Aug 29 18:54:57 2018 -0700
@@ -33,6 +33,9 @@
if conf.env['CXX_NAME'] in ['gcc']:
if tuple(map(int, conf.env['CC_VERSION'])) >= gcc_version_gtkplus_warning_issue:
conf.env.append_value('CXXFLAGS', '-Wno-parentheses')
+ # Bug 2978 gcc and clang warnings about deprecated declarations
+ if conf.env['CXX_NAME'] in ['clang', 'gcc']:
+ conf.env.append_value ('CXXFLAGS', '-Wno-error=deprecated-declarations')
have_libxml2 = conf.check_cfg(package='libxml-2.0', atleast_version='2.7',
args=['--cflags', '--libs'], uselib_store='LIBXML2',
--- a/wscript Sun Aug 26 11:01:00 2018 -0700
+++ b/wscript Wed Aug 29 18:54:57 2018 -0700
@@ -643,7 +643,6 @@
if conf.check_compilation_flag(flag, mode='cc'):
env.append_value('CCFLAGS', flag)
- add_gcc_flag('-Wno-error=deprecated-declarations')
add_gcc_flag('-fstrict-aliasing')
add_gcc_flag('-Wstrict-aliasing')