Re: Compilation warnings in HEAD/COSS

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 21 Aug 2001 06:47:21 +0200

Adrian Chadd wrote:

> Hrm. Did I miss this message on the list? Weird.

That is why you should use -Werror as well.. that way no warnings are missed...
(it won't build if there is warnings)

-Wmissing-prototypes adds a check if a function is globally defined without
having a prototype defined. If you get a warning on this it is most likely a
routine that should have been declared static.

There is many other -W flags that is useful, but some work remains to make the
Squid code compile cleanly with them...

--
Henrik
Received on Mon Aug 20 2001 - 22:51:29 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:13 MST