Mail Archives: djgpp/2001/02/06/21:08:07
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 -