[PATCH] fix build with --enable-developer-warnings and gcc3.4

Nils Goroll slink at schokola.de
Thu Jan 9 19:07:25 CET 2014

> d9492da540430103b9dcd6844eb59b508c061d66 effectively breaks builds with gcc 3.4.

... only when developer warnings are enabled.

Patch attached.

This also fixes linker issues if the compiler supports -fstack-protector but not 
the linker and a "the address of ‘buf’ will never be NULL" on Solaris / gcc 4.3.3

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-fix-build-with-enable-developer-warnings-and-gcc3.patch
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20140109/1fc66299/attachment.ksh>

More information about the varnish-dev mailing list