Hi Jonathan, >>It turns out the #undef's are from <math.h>: >> >>#if __cplusplus >= 201103L >>#undef _GLIBCXX_USE_C99_MATH >>#undef _GLIBCXX_USE_C99_MATH_TR1 >>#endif >> >>No idea what this nonsense is trying to accomplish! It's already in >>Solaris 11.3, however. > > Wow. > > If only there was some way the Solaris team could contact us so we > could coordinate and stop adding more and more hacks to mess with each > others headers. But I assume they don't have access to the www or > email, because the only other explanation is too rude to say on a > public list.
it very much depends who you are dealing with: some are quite good at coordinating with other/external groups, while others, well, don't get me started... I'll see what I can dig up here: my goal has been to get rid of the need for fixincludes on newer Solaris versions, but progress has been slow ;-( We'll probably have to undo this via fixincludes since at least on Solaris 11.x it's already in the wild. Maybe this can be stopped before Solaris 12 ships, though... >>> Once again I wish we had a Solaris machine in the compile farm, or it >>> was possible to install a Solaris VM and get OS updates without paying >>> Oracle for the privilege. >> >>That's easily doable: Solaris is free for development use; you get >>access to the release (11, 11.1, 11.2, 11.3, ...) versions, just not to >>patches/updates. > > Yes, but because the libc headers get changed by patches and updates, > I found it was useless to install it in a VM. Because I had outdated > headers I couldn't test how our build system interacts with a fully > updated version of Solaris. True: there have certainly issues like this in the past; that's why I'm trying to keep even older Solaris versions up to date WRT patches. >>They do have a program for free academic use of >>Solaris, including updates, these days: https://academy.oracle.com/. > > That might be useful, I'll see if I qualify. Thanks. Another option might be to get Oracle grant a similar exception to the compile farm. I'll ask around if there's any chance of this. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University