Skip to content

config-store: Fix GTK deprecations

Tommaso Pecorella requested to merge tommypec/ns-3-dev:gtk-config-fix into master

See #319 (closed)

This patch also removes the following from the wscript:

    # Bug 2936 -Wparentheses issue for gcc >= 8
        if conf.env['ENABLE_GTK']: 
            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')
  • Wno-parentheses is not anymore needed because Gtk-3 has been updated since.
  • Wno-error=deprecated-declarations is not needed because... because of the patch.

Merge request reports

Loading