Bug 694896 - C++ compilation fails with "unexpected type name"
Summary: C++ compilation fails with "unexpected type name"
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 675622 687292 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-08 19:09 UTC by Rob Riggs
Modified: 2011-08-02 22:13 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-02 22:10:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rob Riggs 2011-04-08 19:09:12 UTC
Description of problem:
clang-2.8 and clang-2.9 are incompatible with GCC 4.6.  The problem is documented here: http://llvm.org/bugs/show_bug.cgi?id=9472


Version-Release number of selected component (if applicable):
clang-2.8-10.fc15.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. echo "#include <algorithm>" | clang++ -x c++ -c -

See link to llvm bug above.  Any code that includes <algorithm> fails to compile.
  
Actual results:
Compilation fails with "unexpected type name" error.

Expected results:
A working executable as under Fedora 13.

Additional info:
This is a known incompatibility between clang++ up to 2.9 and GCC 4.6.

Comment 1 Michel Lind 2011-08-02 22:13:07 UTC
*** Bug 675622 has been marked as a duplicate of this bug. ***

Comment 2 Michel Lind 2011-08-02 22:13:45 UTC
*** Bug 687292 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.