[Bug c/85850] [9.0 Regression] gcc 9.0 doesn't compile with Xcode 9.3.1

2018-05-21 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85850 --- Comment #4 from Jürgen Reuter --- Sorry, I meant Marc, of course. Confused this was another PR. (In reply to Jürgen Reuter from comment #3) > Indeed, Janne is correct, this change in libcpp/system.h solves the problem, > i.e. moving the de

[Bug c/85850] [9.0 Regression] gcc 9.0 doesn't compile with Xcode 9.3.1

2018-05-21 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85850 --- Comment #3 from Jürgen Reuter --- Indeed, Janne is correct, this change in libcpp/system.h solves the problem, i.e. moving the definition up: # diff -u system.h system.h.260425 --- system.h2018-05-20 23:00:01.0 +0200 +++ system.

[Bug c/85850] [9.0 Regression] gcc 9.0 doesn't compile with Xcode 9.3.1

2018-05-20 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85850 --- Comment #2 from Jürgen Reuter --- So is there a quick workaround for this?

[Bug c/85850] [9.0 Regression] gcc 9.0 doesn't compile with Xcode 9.3.1

2018-05-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85850 --- Comment #1 from Marc Glisse --- In libcpp/system.h, is included too late, after messing with macros, it should move earlier with the other includes. We could probably also avoid #defining true/false in C++ (just a warning).