Date: Mon, 13 Jan 1997 18:34:50 -0600 (CST) From: Andrew Deren To: djgpp Subject: Re: How do I know what is ANSI? In-Reply-To: <199701131653.KAA28581@ginger.imgen.bcm.tmc.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 >