www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/14/22:51:12

From: martin AT mira DOT isdn DOT cs DOT tu-berlin DOT de (Martin von Loewis)
Subject: Re: egcs-1.1 windows headers cause compilation failure in cygwin b20
14 Dec 1998 22:51:12 -0800 :
Message-ID: <199812150006.BAA00373.cygnus.gnu-win32@mira.isdn.cs.tu-berlin.de>
References: <19981214141355 DOT AAA5912 AT vb-mail1 DOT corpemea DOT BayNetworks DOT com@LTRPLUIM.corpemea.baynetworks.com>
Mime-Version: 1.0 (generated by SEMI 1.8.4 - "Takaoka")
To: Robert_Pluim AT baynetworks DOT com
Cc: egcs-bug AT cygnus DOT com, gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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