This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: egcs-1.1 windows headers cause compilation failure in cygwin b20
- To: Robert_Pluim at baynetworks dot com
- Subject: Re: egcs-1.1 windows headers cause compilation failure in cygwin b20
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Tue, 15 Dec 1998 01:06:54 +0100
- CC: egcs-bug at cygnus dot com, gnu-win32 at cygnus dot com
- References: <19981214141355.AAA5912@vb-mail1.corpemea.BayNetworks.com@LTRPLUIM.corpemea.baynetworks.com>
> 1. Why is this windows stuff getting included when I'm not asking for
> it?
You are using <direct.h>. This *is*, more or less, 'windows stuff'.
> 2. Isn't this namespace pollution? I must admit I'm not au-fait with
> all the various standards, and I realise it might all be
> Microsoft's fault, but couldn't this stuff at least be #ifdef'd
> somehow?
Same answer. You are using a non-standard header, what do you expect?
Seriously, the standards say what you may define in standard headers.
<direct.h> is not a standard, so it could define anything.
Regards,
Martin
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".