Re: configure and -Werror=unused-variable do not mix well.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: configure and -Werror=unused-variable do not mix well.

Mike Frysinger
On 27 Jan 2017 20:31, [hidden email] wrote:
> I found a few tests that failed if -Werror=unsed-variable is defined for
> CFLAGS (an environment variable).

generally speaking, passing -Werror flags to configure is a bad idea.
you should insert the -Werror flags after configure has run.  you can
work with the respective upstream projects to make that happen.
-mike

signature.asc (849 bytes) Download Attachment