[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Make compilation of preloaded module glue -Wstrict-prototype
From: |
Ralf Wildenhues |
Subject: |
Re: [PATCH] Make compilation of preloaded module glue -Wstrict-prototypes clean |
Date: |
Sun, 23 Aug 2009 07:20:52 +0200 |
User-agent: |
Mutt/1.5.20 (2009-08-09) |
Hello Lennart,
* Lennart Poettering wrote on Tue, Aug 11, 2009 at 08:20:22PM CEST:
> When generating the preloaded module glue code libtool generates invalid
> prototypes without argument lists. When compiling with slightly fascist
> compiler options (-Wstrict-prototypes) this has the effect of causing
> gcc to print gazillions of warnings when the final libtool call is done
> -- for each symbol one.
>
> This fix uses GCC's diagnostic pragma to override the
> -Wstrict-prototypes setting for the generated code and thus makes GCC
> shut up.
That sounds like a better idea to me than the earlier approach, thanks.
Pushed, and added you to THANKS.
Cheers,
Ralf