Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: "Wayne K. Werner" Newsgroups: scea.yaroze.programming.codewarrior Subject: Re: tanttank demo linking problem in CW Date: 8 Sep 1997 22:56:18 GMT Organization: WermX Software Lines: 28 Message-ID: <01bcbcaa$369dba60$b4bf43ce@wkwerner> References: <3412F639.5F1C6C64@zicorp.com> <01bcbc11$baf64960$9fbf43ce@wkwerner> <34140C26.DB8F698F@msu.edu> NNTP-Posting-Host: port80.con2.com X-Newsreader: Microsoft Internet News 4.70.1161 Charles Henrich wrote: > If GCC is used properly, it will happily report every conceivable error on the > planet. In fact I would argue -Wall should be the default for GCC. Every > Makefile should use it in any case. GCC will not report all warnings unless > -Wall is used on the command line. If Predip had used -Wall he would have > found the bugs. You also need to look at the makefile for options usage when > porting to CW as well. That's something I can totally get behind. Whatever system I program in, I like to set the warning level as high as it goes. I want to see every warning, and eliminate it. It is my opinion that code causing warnings is unfinished code. All warnings must be understood and eliminated... not just by using a #pragma directive to shut it off either! As for the GNU linker, it never reports the multiply defined globals. This is not a good thing. Charles, is there a switch that GNU users can enable to handle this? -- Wayne K. Werner wkwerner@con2.com