Le 7 nov. 2011 à 21:47, Ulrich Pöhlmann a écrit : > On 11/07/2011 01:04 PM, Quentin Mathé wrote: >> Hi, >> >> To compile LanguageKit, I had to work around the glibc __block issue in >> various places once again. >> The patch is pretty ugly, so before committing it I wanted to know if >> someone had a better solution. >> > Isn't that patch already included in etoile trunk? After running "make > install" I got the patch automatically installed under > "/Local/Library/Headers/EtoileFoundation/glibc_hack_unistd.h".
No, this is a old hack that doesn't use the 'include_next' trick and requires that you replace every #include <unistd.h> by #include "glibc_hack_unistd.h". Moreover it won't work here because the #include directives we want to override are in the LLVM code rather than in the LanguageKit code. I'll remove it to use the new hack suggested by David. Cheers, Quentin. _______________________________________________ Etoile-dev mailing list Etoile-dev@gna.org https://mail.gna.org/listinfo/etoile-dev