id summary reporter owner description type status milestone component version severity resolution keywords cc 137 build bjam fails on SGI; here is fix nobody Ralf W. Grosse-Kunstleve "{{{ On SGI w/ Irix 6.5.13 w/ MipsPro CC 7.3.1, the build of bjam fails on file tools/build/jam_src/newstr.c line 79 (the line that has offsetof): on SGI, this is a macro that has two definitions; the default is to use a macro def that requires the data member to be a compile time const, so compile stops at that file. The fix consisted in adding the two following lines just under the #include : #undef offsetof #define offsetof(s, m) (size_t)(&(((s *)0)->m)) to override the default define of offsetof with the second definition copied there verbatim. With this fix, the rest of the build succeeded, but for bjam and for building the boost libraries per se. I have no idea how solid the above offsetof implementation is. Best, Oliver }}}" Bugs closed None None Out of Date