|
From: | Reuben Thomas |
Subject: | Re: manywarnings for C++ |
Date: | Mon, 7 Aug 2017 17:11:17 +0100 |
> Currently in my configure.ac, I have:
>
> AC_LANG_PUSH([C++])
> gl_MANYWARN_ALL_GCC([cxx_warnings]) Yes, this is how the multi-language facilities are supposed to be used.
>
> dnl Enable all G++ warnings not in this list.
> gl_MANYWARN_COMPLEMENT([cxx_warnings], [$cxx_warnings], [$nw])
> for w in $cxx_warnings; do
> gl_WARN_ADD([$w])
> done
> AC_LANG_POP
>
> which seems to work.
The main reason why the AC_LANG_PUSH/POP pairs are still there is that the
macros can be AC_REQUIREd.
[Prev in Thread] | Current Thread | [Next in Thread] |