Ethereal-dev: Re: [Ethereal-dev] -ansi vs. configure question

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Tue, 20 Jan 2004 19:55:25 +0100
Try the gcc manual:
 
http://gcc.gnu.org/onlinedocs/gcc-3.3.2/gcc/Warning-Options.html
 
It contains all possible warning levels etc.
 
Candidate warning option: -Wmissing-declarations
 
Regards,
 
Olivier
 
----- Original Message -----
From: "Joerg Mayer"
 
Hello,

I'm trying to compile Ethereal with -ansi, in order to find missing includes
etc. The system is a suse 9.0. After manually patching the includes of
libpcap, replacing all u_XXX types by unsigned XXX I've run into the problem
that configure always decides that there is e.g. an snprintf function,
although -ansi disables its use in the header files. Consequently, configure
decides its there and compilation fails later on. There are more functions
with this problem. I've tried to set CFLAGS to -ansi before running configure,
but that didn't help.
Ideas anyone?

 ciao
    Jörg
--
Joerg Mayer                                           <
jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev