[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] sh-quote: avoid a warning from -Wstrict-prototypes
From: |
Bruno Haible |
Subject: |
Re: [PATCH] sh-quote: avoid a warning from -Wstrict-prototypes |
Date: |
Sun, 22 Nov 2009 13:07:19 +0100 |
User-agent: |
KMail/1.9.9 |
More details:
> The -Wstrict-prototypes warning is 90% a useful warning (think of declarations
> of function pointers types) and 10% a stylistic warning - regarding () vs.
> (void)
> in function *definitions*.
The useful part warning is emitted in gcc-4.4.2/gcc/c-decl.c:5035. The stylistic
warning is emitted in gcc-4.4.2/gcc/c-decl.c:6238.
Brubno