Is there a way to /* silence gcc */?

Bernhard Fischer rep.dot.nop at gmail.com
Mon Jul 2 08:19:03 UTC 2007


On Sun, Jul 01, 2007 at 08:36:41PM +0200, Cristian Ionescu-Idbohrn wrote:
>On Sun, 1 Jul 2007, Denis Vlasenko wrote:
>
>> On Sunday 01 July 2007 19:25, Cristian Ionescu-Idbohrn wrote:
>> > findutils/find.c: In function `parse_params':
>> > findutils/find.c:512: warning: no previous prototype for `alloc_action'
>>
>> I think it's possible only thru gcc bugzilla.
>
>Let's hope so.
>
>> Or maybe gcc 4.2 will have it fixed?
>
>Unfortunately not yet, AFAICS:
>
># /usr/bin/gcc-4.2 --version
>gcc-4.2 (GCC) 4.2.1 20070627 (prerelease) (Debian 4.2-20070627-1)

Either improve gcc or fix find to be C99 compliant (nested functions are
prohibited in C99, this is more or less a "bug" in find.c).



More information about the busybox mailing list