Ethereal-dev: [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: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Tue, 20 Jan 2004 19:35:34 +0100
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.