www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/13/12:28:45

From: stockton AT bcm DOT tmc DOT edu (David Stockton)
Message-Id: <199701131653.KAA28581@ginger.imgen.bcm.tmc.edu>
Subject: How do I know what is ANSI?
To: djgpp AT delorie DOT com (DJGPP Mail List)
Date: Mon, 13 Jan 1997 16:53:52 +0000 (GMT)
Reply-to: stockton AT bcm DOT tmc DOT edu
Organization: Molecular and Human Genetics, Baylor College of Medicine
Phone: (713)798-4795
x-fax-number: (713)798-5073
x-phone: (713)798-4795
MIME-Version: 1.0

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 -


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