On Mon, 4 Feb 2008, Kaveh R. Ghazi wrote: > on "GNUC". Sometimes the solaris headers try to be gcc-aware. Is there a > GNUC appearing in solaris11's /usr/include/iso/math_c99.h header? And that > begs the question, why do these fix hacks have this GNUC bypass in the first > place?
Because I gave Sun instructions on how to make this header work with GCC so that future versions would not need to be fixincluded, and we don't want to fixinclude headers unnecessarily (for example, fixing code that's already conditional so it's irrelevant for GCC). (Avoiding the need for any headers to be fixincluded was one thing explicitly desired by Sun as part of supporting GCC as a system compiler for OpenSolaris.) -- Joseph S. Myers [EMAIL PROTECTED]