delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/11/02/13:31:14

Message-Id: <m0zaOkZ-000S4VC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se>,
djgpp-workers AT delorie DOT com
Date: Mon, 2 Nov 1998 15:35:55 +0000
MIME-Version: 1.0
Subject: Re: specs file
In-reply-to: <199811021127.MAA03095@mars.lu.erisoft.se>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 981102130737 DOT 11877B-100000 AT is> from "Eli Zaretskii" at Nov 2, 98 01:12:14 pm
X-mailer: Pegasus Mail for Windows (v2.54)
Reply-To: djgpp-workers AT delorie DOT com

Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se> wrote:

> > > On the other hand if a program needs to know __DJGPP_MINOR and such, it
> > > really should include some header (version.h?) for that.
> > 
> > ANSI C allows for a program to be written that doesn't include any 
> > headers, and still uses library functions.  The problem is how to make
> > __DJGPP__ and __DJGPP_MINOR__ be defined in such a program.  For 
> > exxample, i386 and __MSDOS__ *will* be defined in such a program.
> 
> Of course. But ANSI C doesn't require that the program works as intended
> if no headers have been #included, does it?

As the functions are standard you could put the prototype by hand instead of 
including the header ;-)
 
SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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