[Bug driver/83016] gnat1: warning: command line option ‘-nostdinc++’ is valid for C++/ObjC++ but not for Ada

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 16 23:24:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83016

--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Created attachment 42629
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42629&action=edit
Tentative fix

The patch makes sure g++ is only used to link and not to compile Ada stuff.


More information about the Gcc-bugs mailing list