Mail Archives: djgpp/1997/01/13/19:59:37
Date: | Mon, 13 Jan 1997 18:34:50 -0600 (CST)
|
From: | Andrew Deren <aderen AT eecs DOT uic DOT edu>
|
To: | djgpp <djgpp AT delorie DOT com>
|
Subject: | Re: How do I know what is ANSI?
|
In-Reply-To: | <199701131653.KAA28581@ginger.imgen.bcm.tmc.edu>
|
Message-ID: | <Pine.SUN.3.95.970113183340.19865B-100000@bert.eecs.uic.edu>
|
MIME-Version: | 1.0
|
Use "new" instead of malloc
On Mon, 13 Jan 1997, David Stockton wrote:
> I have been working on a library of C++ routines that I will eventually want
> to compile on several platforms. They compiled cleanly with "-Wall" but
> when I decided they would port more easily if I made them ANSI compliant.
> So I added the "-ansi" compile flag and it complained that malloc, calloc,
> etc. had no prototypes. I am infering from this that they are not ANSI
> standard functions. If they are not -- then what memory allocation
> routines are? Is there an easy way to look up what routines are ANSI
> standard?
> - David
>
- Raw text -