Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 2009 12:49:52 +0200
From:      cpghost <cpghost@cordula.ws>
To:        Erich Dollansky <erich@apsara.com.sg>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: please help to uninstall FreeBSD!!!
Message-ID:  <20090817104952.GB1162@phenom.cordula.ws>
In-Reply-To: <200908171818.47710.erich@apsara.com.sg>
References:  <980215.56754.qm@web58307.mail.re3.yahoo.com> <20090817102529.be4fe3a5.freebsd@edvax.de> <20090817100906.GA1162@phenom.cordula.ws> <200908171818.47710.erich@apsara.com.sg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 17, 2009 at 06:18:45PM +0800, Erich Dollansky wrote:
> On 17 August 2009 pm 18:09:06 cpghost wrote:
> > On Mon, Aug 17, 2009 at 10:25:29AM +0200, Polytropon wrote:
> > > By the way, where did I read that #define macro names have to
> > > be unique within the first 6 (six) letters? :-)
> >
> > The 6 letters limit was actually a restriction of earlier
> > linkers and it affected all identifiers of linkable objects
> 
> I did not know that linkers resolved macros those days.

Of course they didn't. But knowing that linkers restricted the
identifiers' length to 6 chars, it made sense for preprocessors
to restrict them as well before passing them to the compiler
and linker.

Actually, it's a bit more complicated than that, but the basic
restriction came from the linkers, the preprocessors only inherited
it.

> Interesting.
> 
> Erich

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090817104952.GB1162>