Yeah, though the idea is not to silence the compiler, but to find a solution to the problem and make the compiler happy. On 23/10/20 06:19, Peter Johansson wrote: > > On 23/10/20 6:39 pm, Russell Shaw wrote: >> If the compiler complains, then maybe you could capture that complaint output. >> >> Bit of a messy test. > > When trying to detect compiler warnings, I've found AC_LANG_WERROR useful > > https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/autoconf.html#Generic-Compiler-Characteristics > > Peter > >