![](https://secure.gravatar.com/avatar/02a711d78d02355347d6cff73fda2572.jpg?s=120&d=mm&r=g)
On 2013–03–12 Khaled Hosny wrote:
I don't know off-hand, but generally you need a recent enough compiler to build HarfBuzz and Graphite2, if using GCC then you need one from 4.x series (I use 4.6 myself, but 4.4 have been used successfully as well).
I use gcc 4.5.2 I'm clueless at the moment and my gut feeling says that it's not the compiler, rather some header that gets included and shouldn't. But I may be totally off with that. Marco
![](https://secure.gravatar.com/avatar/02a711d78d02355347d6cff73fda2572.jpg?s=120&d=mm&r=g)
On 2013–03–12 Marco wrote:
I'm clueless at the moment and my gut feeling says that it's not the compiler, rather some header that gets included and shouldn't. But I may be totally off with that.
I got it! Here's a minimal example: // file.cpp #include <cstdlib> int main(){ return ES;} g++ file.cpp ./a.out echo $? 2 ES is defined in /usr/include/sys/regset.h with the following comment: * The names and offsets defined here should be specified by the * AMD64 ABI suppl. I have no clue why Solaris defines these registers. Linux and other BSDs do not. It seems like this should be fixed upstream. Hope this helps. Marco
participants (1)
-
Marco