[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AppKit.h unconditionnaly includes everything
From: |
Pascal Bourguignon |
Subject: |
AppKit.h unconditionnaly includes everything |
Date: |
Sat, 23 Jun 2001 17:26:49 +0200 (CEST) |
In NSTextContainer.h, there this #ifdef/#error:
#ifdef STRICT_OPENSTEP
#error "The OpenStep specification does not define an NSTextContainer class."
#endif
However, it's unconditionnaly included by AppKit.h.
I would suggest in all these cases (well it seems to be the only one)
to add #ifndef's in AppKit.h, such as:
#ifndef STRICT_OPENSTEP
#include <AppKit/NSTextContainer.h>
#endif
--
__Pascal_Bourguignon__ (o_ Software patents are endangering
() ASCII ribbon against html email //\ the computer industry all around
/\ and Microsoft attachments. V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100 2001:my($f)=`fortune`; http://petition.eurolinux.org/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d? s++:++(+++)>++ a C+++ UB+++L++++$S+X++++>$ P- L+++ E++ W++
N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
------END GEEK CODE BLOCK------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- AppKit.h unconditionnaly includes everything,
Pascal Bourguignon <=