[Top][All Lists]

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

Re: Corrections for GDL2

From: Stéphane Corthésy
Subject: Re: Corrections for GDL2
Date: Tue, 31 Dec 2002 15:36:29 +0100

On Tuesday, December 31, 2002, at 03:16 PM, Markus Hitter wrote:

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.

I mean, auto-generated "config.h" could contain other inclusions, specific to OSX; no specific code. BTW, if we use PBX to maintain project on OSX, config.h can be located in any directory, and does not need to be auto-generated by configure: we could even hardcode its content...

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 < Obsolete-once-only-headers.html>. The release notes of Apple's GCC3 (<>) mentions this, too, plus the -Wimport option to detect them.

Ah! You found it! Thanks.


reply via email to

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