innd's code cleanup

Matus "fantomas" Uhlar uhlar at fantomas.sk
Wed Nov 1 19:54:39 UTC 2000



-> Russ Allbery writes:
-> > > Next patch will cleanup rest of inn's code and add
-> > > 	-Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast \
-> > > 	-Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes
-> > > to COPT in Makefile.global.in.
-> > 
-> > You may want to also add -pedantic.  You probably don't want to turn
-> > these
-> 
-> With -pedantic (I use this option for test compile) gcc (2.95.2)
-> type many warning about ``%m'' format in syslog calls.

may I se some?

-> P.S. We need change -O2 optimization to -O (see inn-bugs). -O2 seems
-> to broken for gcc2.95.2/x86 (or add comment about it to makefile).

What kind of OS do you have installed ? AFAIK Redhat made some changes in
gcc that made it incompatible. Even if not, it's compiler what's broken, not
the sources so we should avoid replacing -O2 with -O when not needed
(ehm, can configure detect and work with this?)

-- 
 Matus "fantomas" Uhlar, sysadmin at NEXTRA, Slovakia; IRCNET admin of *.sk
 uhlar at fantomas.sk ; http://www.fantomas.sk/ ; http://www.nextra.sk/
 I just got lost in thought. It was unfamiliar territory. 

---
Odchozí zpráva obsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.167 / Virová báze: 80 - datum vydání: 6/29/2000



More information about the inn-patches mailing list