delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/06/21:08:07

From: Silver <SilverBanana AT gmx DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: trouble with MSDOS Macro
Date: Tue, 06 Feb 2001 17:40:06 +0100
Organization: Private
Lines: 31
Message-ID: <3A8028E6.E6F57836@gmx.de>
References: <3A80185B DOT 27921 DOT F696E AT localhost> <3A801968 DOT 39E6D7B2 AT gmx DOT de> <95p85e$46a$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
Mime-Version: 1.0
X-Trace: news.t-online.com 981477543 03 4372 D2ttUESSvYXxM 010206 16:39:03
X-Complaints-To: abuse AT t-online DOT com
X-Sender: 320061326503-0001 AT t-dialin DOT net
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


Hans-Bernhard Broeker wrote:
> 
> Silver <SilverBanana AT gmx DOT de> wrote:
> [...]
> > Thanks, but I'm writing a C++ library and I've set up several naming
> > conventions for this, so I would REALLY appreciate it to call it
> > "MSDOS". Besides I'm pretty sure that it is not a good style for DJGPP
> > to use nonstandart macros for its own purposes without underscores and
> > without documentation. What I need is a way to get DJGPP compatible.
> 
> MSDOS is by no means a nonstandard macro, for a DOS compiler. Just
> about all of them predefine this macro, AFAIK.  Of course, there are
> ways to disable it. In 'gcc -ansi' mode, you'll be rid of it, and only
> the ANSI-blessed 'implementor namespace' version __MSDOS__ is still
> there.
> 
> So I agree with Andris: you really should choose a different namespace
> name, here.

Well OK. But it isn't documented. I just searched for "MSDOS" and I
could find anything about this macro. So if this is all intended the way
it is by DJ Delorie then it should be documented.

Thanks for your help

B.F.

PS: Sorry for posting this one twice. I didn't know that
djgpp AT delorie DOT com leads to this newsgroup.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019