http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51670
Bug #: 51670 Summary: [4.7.0] conflicts with new declaration with 'C++' linkage Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassig...@gcc.gnu.org ReportedBy: pashev.i...@gmail.com Created attachment 26174 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26174 Build log G++ 4.7.0 (trunk from 20111219) compiler doesn't work on Solaris (x86_64-pc-solaris2.11). But G++ 4.6.2 does. Steps to reproduce: # /usr/gcc/4.7/bin/g++ test.cpp -o test # FAIL # /usr/gcc/4.6/bin/g++ -m64 test.cpp -o test # WIN Build log is attached. Trivial test program and preprocessed files are below.