[Top][All Lists]
[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/
- Corrections for GDL2, Stéphane Corthésy, 2002/12/30
- Re: Corrections for GDL2, Mirko Viviani, 2002/12/30
- Re: Corrections for GDL2, Mirko Viviani, 2002/12/31
- Re: Corrections for GDL2, Markus Hitter, 2002/12/31
- Re: Corrections for GDL2, Mirko Viviani, 2002/12/31
- Re: Corrections for GDL2, Markus Hitter, 2002/12/31