gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Corrections for GDL2


From: Markus Hitter
Subject: Re: Corrections for GDL2
Date: Tue, 31 Dec 2002 15:16:00 +0100


Am Dienstag, 31.12.02 um 14:11 Uhr schrieb Stéphane Corthésy:

We'll take care on (compatibility) header inclusion later. What could be done is to #include "config.h" in all .m files, this way we can put what we need for OSX in config.h.

This file should have any other name. "config.h" is autogenerated by configure; it doesn't make sense to put compatibility macros there.

It works. That's even the way Apple recommends to do things: #import is deprecated. There is a tech note, but I can't find it yet.

You are probably speaking of <http://developer.apple.com/techpubs/macosx/DeveloperTools/gcc3/cpp/ Obsolete-once-only-headers.html>. The release notes of Apple's GCC3 (<http://developer.apple.com/techpubs/macosx/ReleaseNotes/GCC3.html>) mentions this, too, plus the -Wimport option to detect them.


Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]