bug-gnustep
[Top][All Lists]
Advanced

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

And NSLayoutManager.h too. [was: AppKit.h unconditionnaly includ


From: Pascal Bourguignon
Subject: And NSLayoutManager.h too. [was: AppKit.h unconditionnaly includes everything]
Date: Sat, 23 Jun 2001 17:28:59 +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



Similarly for NSLayoutManager.h...


-- 
__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------



reply via email to

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