[Zlib-devel] [PATCH] Out-of-srcdir builds, -Werror resistance

Mark Adler madler at madler.net
Sun Jun 10 01:38:39 EDT 2012


Daniel,

Thank you for your patches.

On May 29, 2012, at 11:55 AM, Daniel Richard G. wrote:
> * ar(1) programs that generate a file named "--version" when invoked as "ar
> --version"

I have incorporated that.

> * Configuring with GCC + "-Wmissing-declarations -Werror"
> 
> * Configuring with GCC + "-Wprototype -Werror"

I have mitigated this differently.  configure will abort if faced with these option combinations, or any option combination that results in a hard error for the simple program: "int foo() { return 0; }".  This permits maintaining compatibility with K&R C.

Mark





More information about the Zlib-devel mailing list