On Friday, September 13, 2002, at 02:31  AM, Stan Shebs wrote:

> David Thompson wrote:
>
>> How do I subvert the Apple preprocessor in the Apple tools for 10.2 
>> (2nd update)? I thought I was supposed to use -no-cpp-precomp, but 
>> I'm trying to compile ddd (Data Display Debugger) and using that flag 
>> still comes up with pp errors.
>
> Perhaps they are bonafide syntax errors?  Sometimes things that work 
> if the
> preprocessor is run separately are token-pasting misunderstandings, 
> and if
> it involved macros that are specific to Darwin, you would see this.

ddd uses #pragma interface/implementation which is a little broken on 
shipping compilers, remove these.
The configure script also incorrectly doesn't find streampos, so I just 
added -DHAVE_STREAMPOS=1 to the CPPFLAGS.


Hope this helps,
Peter

Reply via email to