[Top][All Lists]

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

Re: Header cleanliness [was: removing the 'makeinstall'-->'makeall'depen

From: David Ayers
Subject: Re: Header cleanliness [was: removing the 'makeinstall'-->'makeall'dependency]
Date: Tue, 17 Dec 2002 13:23:52 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130

Alexander Malmberg wrote:

David Ayers wrote:
and why NSArray.h includes:
#include <Foundation/NSRange.h>
instead of
#include "NSRange.h"

...but headers are included by stuff outside -base itself, so they need
the prefix (ie. "NSRange.h" makes no sense in an app, and I don't think
the include paths should be changed to make it valid).

GNUstep make allready supports this though and I think it is correct. And I have some code that uses this feature, i.e. I have a framework and a libraray which both export headers that contain #include "file.h" references to headers in the same directory, and then I have an app project which includes these headers with the #include <library/header.h> scheme. and the corresponding headers are found. In fact my GSWeb-patches heavily depend on this mechanism.


reply via email to

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