[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] Compiling 2.1.7 on Mac OS X
From: |
Steve Hartwell |
Subject: |
Re: [Freetype] Compiling 2.1.7 on Mac OS X |
Date: |
Sat, 13 Mar 2004 06:35:45 -0800 |
Hi, Werner,
On Mar 11, 2004, at 10:28 PM, Werner LEMBERG wrote:
I would try adding -no-cpp-precomp to the CFLAGS variable.
If that works please tell us so that we can add a note to FreeType.
Werner
The error is in the source file ftmac.c, which includes a Mac-specific
header using 'inline' keywords by default. The problem comes from the
-ansi switch to gcc, as Garrick Meeker has recently reported, which
causes gcc not to recognize 'inline'.
The simple solution is to change builds/unix/configure to not use -ansi
if $host matches *-apple*. However it would be a shame to disable
-ansi for the whole build; do you know how to tweak the builds/unix
makefile so that only ftmac.c is built without -ansi? I guess it would
have to be separated out from ftbase.c in that case...
Steve
On Mar 11, 2004, at 7:57 AM, Michael Schmeling wrote:
What am I doing wrong?
Regards
Michael
Dear Michael,
Not wrong, but it would have been more helpful if you had looked at the
file that gave the error: /usr/include/libkern/ppc/OSByteOrder.h:42
syntax error before "uint16_t" and saw that it was a macro OS_INLINE.
I'm sure that it would have given you some useful ideas about the
problem, and you might have been able to report the solution to us
instead of waiting for us to find it ;-)
mit freundlichem Gruß
- [Freetype] Compiling 2.1.7 on Mac OS X, Michael Schmeling, 2004/03/11
- Re: [Freetype] Compiling 2.1.7 on Mac OS X, Steve Hartwell, 2004/03/13
- Re: [Freetype] Compiling 2.1.7 on Mac OS X, Werner LEMBERG, 2004/03/14
- Re: [Freetype] Compiling 2.1.7 on Mac OS X, Garrick Meeker, 2004/03/23
- Re: [Freetype] Compiling 2.1.7 on Mac OS X, Werner LEMBERG, 2004/03/28
- Re: [Freetype] Compiling 2.1.7 on Mac OS X, Garrick Meeker, 2004/03/30
Re: [Freetype] Compiling 2.1.7 on Mac OS X, Garrick Meeker, 2004/03/11