delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/06/10:31:46

From: michael DOT mauch AT gmx DOT de (Michael Mauch)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Info Zip unzip-5.32 does not compile with DJGPP/gcc-2.8.0
Date: Mon, 06 Apr 1998 16:17:09 +0200
Organization: Gerhard-Mercator-Universitaet -GH- Duisburg
Lines: 19
Message-ID: <6gao4s$1g3$1@news-hrz.uni-duisburg.de>
References: <199804060440 DOT VAA02961 AT adit DOT ap DOT net>
NNTP-Posting-Host: ppp110.uni-duisburg.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Sun, 5 Apr 1998 21:40:15 -0700 (PDT), Nate Eldredge <eldredge AT ap DOT net>
wrote:

> At 06:04  4/5/1998 +0200, Michael Mauch wrote:
> 
> >I don't know what the `-Asystem(unix)“ and so forth in the built-in
> >specs mean -- gcc.info does not seem to have a reference for it. Is it
> >something to be concerned about?
> 
> No, it isn't. It's a predefined preprocessor assertion. Look in the CPP (not
> GCC) manual and see the node "Assertions".

Thank you, no I found it. If I understand you right, we shouldn't rely
on the non-ANSI constructs `#system(unix)“, `#system(dos)“ and so forth
being defined, but rather test for the pure preprocessor definitions
`__MSDOS__“, `__unix“ and so on.

Regards...
		Michael

- Raw text -


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