equal
deleted
inserted
replaced
31 # Bug 2936 -Wparentheses issue for gcc >= 8 |
31 # Bug 2936 -Wparentheses issue for gcc >= 8 |
32 if conf.env['ENABLE_GTK']: |
32 if conf.env['ENABLE_GTK']: |
33 if conf.env['CXX_NAME'] in ['gcc']: |
33 if conf.env['CXX_NAME'] in ['gcc']: |
34 if tuple(map(int, conf.env['CC_VERSION'])) >= gcc_version_gtkplus_warning_issue: |
34 if tuple(map(int, conf.env['CC_VERSION'])) >= gcc_version_gtkplus_warning_issue: |
35 conf.env.append_value('CXXFLAGS', '-Wno-parentheses') |
35 conf.env.append_value('CXXFLAGS', '-Wno-parentheses') |
|
36 # Bug 2978 gcc and clang warnings about deprecated declarations |
|
37 if conf.env['CXX_NAME'] in ['clang', 'gcc']: |
|
38 conf.env.append_value ('CXXFLAGS', '-Wno-error=deprecated-declarations') |
36 |
39 |
37 have_libxml2 = conf.check_cfg(package='libxml-2.0', atleast_version='2.7', |
40 have_libxml2 = conf.check_cfg(package='libxml-2.0', atleast_version='2.7', |
38 args=['--cflags', '--libs'], uselib_store='LIBXML2', |
41 args=['--cflags', '--libs'], uselib_store='LIBXML2', |
39 mandatory=False) |
42 mandatory=False) |
40 |
43 |