[MLton-user] trouble building from svn on Mac OS X

John Reppy jhreppy at mac.com
Wed Sep 24 08:26:10 PDT 2008


Unfortunately, Apple's version of gcc doesn't understand -fgnu89-inline.

 From the discussion at http://www.mail-archive.com/bug-gnulib@gnu.org/msg09743.html 
,
it appears that Apple's compilers differ in subtle, but unfortunate,  
ways from
the regular gcc on this issue.

	- John

On Sep 24, 2008, at 4:11 PM, Matthew Fluet wrote:

>
> IIRC, gcc used to use the inline attribute in a way that deviated  
> from the C99 standard.  More recent versions of gcc follow the C99  
> standard.  GMP used to have headers that relied on gcc's old inline  
> behavior.  But, the latest release of GMP has updated their headers  
> to match the C99 behavior.
> So, it might depend on which release of gcc and GMP you are using.   
> You could try adding  -fgnu89-inline  to the runtime C flags.




More information about the MLton-user mailing list