This is the mail archive of the gcc-bugs@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]

[Bug preprocessor/51670] New: [4.7.0] conflicts with new declaration with 'C++' linkage


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]