[Bug c++/67094] Compiling and linking through compiler driver with '-x c++' fails to link with stream of errors

2015-08-03 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67094 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Commen

[Bug c++/67094] Compiling and linking through compiler driver with '-x c++' fails to link with stream of errors

2015-08-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67094 --- Comment #5 from Andrew Pinski --- "Specify explicitly the language for the following input files (rather than letting the compiler choose a default based on the file name suffix). This option applies to all following input files until the nex

[Bug c++/67094] Compiling and linking through compiler driver with '-x c++' fails to link with stream of errors

2015-08-03 Thread noloader at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67094 --- Comment #4 from Jeffrey Walton --- Andrew/Everyone(In reply to Andrew Pinski from comment #1) > -x c++ means the input is c++ source no matter what the extension. Sorry to revisit this... According to the GCC docs, GCC should not be changin

[Bug c++/67094] Compiling and linking through compiler driver with '-x c++' fails to link with stream of errors

2015-08-02 Thread noloader at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67094 --- Comment #3 from Jeffrey Walton --- (In reply to Andrew Pinski from comment #2) > That -x c++ with .o files are being treated as c++ source and being compiled > and that is what is the error message is saying. The .o file is a binary > file.

[Bug c++/67094] Compiling and linking through compiler driver with '-x c++' fails to link with stream of errors

2015-08-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67094 --- Comment #2 from Andrew Pinski --- That -x c++ with .o files are being treated as c++ source and being compiled and that is what is the error message is saying. The .o file is a binary file.

[Bug c++/67094] Compiling and linking through compiler driver with '-x c++' fails to link with stream of errors

2015-08-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67094 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---