GNOME Bugzilla – Bug 729406
Deprecate GNOME_CXX_WARNINGS
Last modified: 2015-01-27 11:31:03 UTC
We think it should be possible to merge GNOME_CXX_WARNINGS into GNOME_COMPILE_WARNINGS by checking the currently set language in the AC_LANG_[PUSH|POP] stack. GNOME_CXX_WARNINGS could then be deprecated.
One way of doing the merge for GNOME_COMPILE_WARNINGS would be: https://git.gnome.org/browse/mm-common/tree/macros/mm-warnings.m4#n74
I made some progress on merging the CXX macros into the C ones: https://git.gnome.org/browse/gnome-common/log/?h=wip/deprecate-cxx-macros Remaining tasks include moving the strict ISO CXX warning option, deprecating the CXX macros with AU_DEFUN, adding the CXX-specific problems to the right place and finally a lot of testing.
Let's just deprecate this without replacement, as it is not useful (only adds a couple of warning options) and few projects are using it.
Created attachment 295513 [details] [review] macros2: Deprecate GNOME_CXX_WARNINGS Just as for GNOME_COMPILE_WARNINGS, GNOME_CXX_WARNINGS has been deprecated in favour of AX_COMPILER_FLAGS. See commit b57bae0be3df241220b1fba3120e2f50261258e5 for details.
Review of attachment 295513 [details] [review]: Looks good to me.
Attachment 295513 [details] pushed as 2bffd7e - macros2: Deprecate GNOME_CXX_WARNINGS