develooper Front page | perl.perl5.porters | Postings from September 2000

RE: Do we care about compiler warnings?

Thread Previous | Thread Next
Horsley Tom
September 1, 2000 04:05
RE: Do we care about compiler warnings?
Message ID:
Even if you care, its hard to fix all of them in code that gets
ported to a million places. Many of them are due to differing
function prototypes in the system header files so the warnings
will come and go on different machines. Lots of unreachable
warnings are due to different ifdefs on different platforms.
And some of them are due to different compilers (I once put
a return statement following an infinite loop to satisfy one
compiler's craving for functions that return a value only to
have the next compiler detect the infinite loop and complain
that the return was unreachable :-).

> -----Original Message-----
> From: Alan Burlison []
> Sent: Thursday, August 31, 2000 8:17 PM
> To:
> Subject: Do we care about compiler warnings?
> Stuff like signed/unsigned character warnings, unreached code etc.  Do
> we care?
> Alan Burlison

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About