diff options
-rw-r--r-- | lib/autoconf/c.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4 index eaef13a9..5d6e7b71 100644 --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.m4 @@ -2261,7 +2261,9 @@ void test_exception_syntax() try { throw "test"; } catch (const char *s) { - assert (!strcmp (s, "test")); + // Extra parentheses suppress a warning when building autoconf itself, + // due to lint rules shared with more typical C programs. + assert (!(strcmp) (s, "test")); } } |