This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
collect2 uses "-x c" for the c compilation, so the language is always C. Thus, it appears unnecessary to add defines to make the file C++ compatible.
2008-03-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR driver/35665 * collect2.c (write_c_file): Don't wrap in "#ifdef __cplusplus".
-- Mark Mitchell CodeSourcery mark@codesourcery.com (650) 331-3385 x713
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |