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.

Reply via email to