------- Comment #12 from pcarlini at suse dot de 2007-03-15 01:24 ------- (In reply to comment #11)
> Honestly, I don't think that makes sense. Did you *really* test it? Because, > as > far as I can see, the cc file at issue includes the whole <locale>, which, in > turn, includes <bits/c++locale.h>, which is a link to > config/locale/generic/c_locale.h in the sources, which includes <clocale> > anyway. Ah, before, you said should be before <cerrno>. Anyway, it's not clear to me why including <clocale> before <cerrno> changes its behavior, that dependency on the order is never supposed to happen for a sane set of headers, right? Did you analyze where exactly in the <clocale> header the CPP symbol is defined? By the way, which exact symbol? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31117