[Bug bootstrap/54659] [4.8 Regression] Bootstrap with --disable-nls broken under Windows

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 21 11:58:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54659

--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-12-21 11:57:41 UTC ---
> but of course even better would be to fix the reason for this hack - why
> are those Ada files built with a C++ compiler in the first place?!

Probably because it would be too complex to invoke 2 compilers in the Makefile.
But nobody tried if I recall correctly and volunteers are always welcome.

> Why does it need to wrap _everything_ inside extern "C"??

See prefix.h: because the foreign language interface of the Ada part is
hardcoded for the C language.  This cannot really be changed for the time
being, but if the directives are misplaced, feel free to move them around.



More information about the Gcc-bugs mailing list