Ethereal-dev: Re: [Ethereal-dev] problems building on mac os x

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

From: Gilbert Ramirez <gram@xxxxxxxxxxxxxxx>
Date: Fri, 7 Dec 2001 16:26:30 -0600
On Fri, 07 Dec 2001 16:18:15 Guy Harris wrote:
> 
> Could somebody please explain what "traditional" features of the C
> preprocessor we're using that require the "-traditional-cpp" flag?
> 
> And also explain why GCC 2.95.1 on Solaris/SPARC appears to compile
> Ethereal *without* "-traditional-cpp"?
> 
> And why, when not run with "-traditional-cpp", the version of GCC in
> MacOS X prints an error message referring to a non-existent line in
> "buffer.c"?
> 
> (Is the answer just "Apple's GCC is buggy"?)
> 

The "Apple's GCC is buggy" hypothesis appears correct:

http://www.stacken.kth.se/lists/arla-drinkers/2001-04/msg00001.html

This site recommends -no-cpp-precomp, and goes into more
detail about apple's gcc:

http://fink.sourceforge.net/doc/porting/basics.php

--gilbert