C++ code in cgraph.h breaking Ada builds?

Arnaud Charlet charlet@adacore.com
Fri Sep 14 18:51:00 GMT 2012


> I added some reference returning member functions in cgraph.h,
> and now Ada appears to break while including cgraph.h.  Huh?

I suspect you are doing a parallel build (make -jxx), and the error is actually
unrelated to the lines you quoted, but occurs above.

Do a 'make' and you'll see the error more clearly.

Arno



More information about the Gcc mailing list