delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/11/04/04:52:05

From: gmarzot AT baynetworks DOT com (Joe Marzot)
Subject: problems with sys/errno.h
4 Nov 1996 04:52:05 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <pdbuderqpf.fsf.cygnus.gnu-win32@baynetworks.com>
Original-To: gnu-win32 AT cygnus DOT com
X-Mailer: Gnus v5.2.2/Emacs 19.31
Original-Sender: owner-gnu-win32 AT cygnus DOT com

the definition of errno as a macro in sys/errno.h(included from errno.h)
causes problems for any use of the name 'errno' other than the usual
global var. I.e. if 'errno' is used as a field in some other struct then
including errno.h reaks havok on that code.

have I missed something?

-GSM

-- 
 Giovanni S. Marzot <gmarzot AT baynetworks DOT com>   Senior Software Engineer
 Bay Networks Inc.                              Network Management Development
--

-
For help on using this list, 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