[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame with latest mingw...



msys_build_deps.py now builds freetype 2.3.7. And it uses a stock MinGW runtime 3.15. For future reference the trick is:

export CPPFLAGS='-Dinline=__inline__'
./configure

Lenard


René Dudfield wrote:
yeah, with freetype

On Thu, Nov 20, 2008 at 6:39 PM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
Hi,

That would be with the latest freetype library, right? I have an updated
dependency build script waiting to be uploaded to SVN. I want to give it one
more test first: run a full dependency build. Also, Setup.in changes, so the
older 1.8.0 dependencies can no longer be used.

Lenard


René Dudfield wrote:
Hey,

there's a bug in latest mingw, which shows up when compiling pygame
deps...


For mingw runtime 3.15...  just some notes in case someone else runs
across this problem.



The fix is to modify your MinGW/include/stdlib.h:

"""

Change "inline* to "__inline__" at stdlib.h:317

"inline" is not a keyword in c89 (c89 is enforced by --ansi switch ).
 Incidentally, you get the same error message if you run  "make
test_headers" on CVS
source.
And even more surprisingly -- this has been broken since 5 May 2008 :(

"""


--
Lenard Lindstrom
<len-l@xxxxxxxxx>