This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/51670] New: [4.7.0] conflicts with new declaration with 'C++' linkage
- From: "pashev.igor at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Dec 2011 23:46:40 +0000
- Subject: [Bug preprocessor/51670] New: [4.7.0] conflicts with new declaration with 'C++' linkage
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: pashev.igor@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.