[Zlib-devel] [PATCH] Out-of-srcdir builds, -Werror resistance
Daniel Richard G.
oss at teragram.com
Sun Jun 10 16:50:10 EDT 2012
> 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.
I understand that prototype definitions are incompatible with K&R; the
configure script already had a test that uses same for a void function
(main(void) in the fseeko check), so it wasn't clear that this compatibility
was desired.
Nevertheless, I do prefer that the script fail fast in the manner you
describe rather than yield erroneous conclusions about the system. Thanks
for addressing this.
--Daniel
More information about the Zlib-devel
mailing list