www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/29/05:16:08

Date: Wed, 29 May 1996 12:06:13 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Rafael Pena Villareal <rpenia AT intercable DOT net>
Cc: djgpp AT delorie DOT com
Subject: Re: #include <alloc.h>
In-Reply-To: <31ABDA60.122C@intercable.net>
Message-Id: <Pine.SUN.3.91.960529120352.12693K-100000@is>
Mime-Version: 1.0

On Tue, 28 May 1996, Rafael Pena Villareal wrote:

> Im changing some programs from borlandc 3.0 to djgpp 2.0, and when
> I write 
> #include <alloc.h>
> 
> the compiler says file not found. Im sure I downloaded all the files
> and into the include directory but there's no alloc.h 

That header file is non-standard, and DJGPP doesn't have it.  Even in BC 
you can (and should IMHO) use the standard headers that include the same 
prototypes, if you want a portable program.  Using <stdlib.h> should 
usually supply the prototypes from <alloc.h>.

- Raw text -


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