http://llvm.org/bugs/show_bug.cgi?id=14923
Bug #: 14923
Summary: clang cannot find gcc 4.8 headers under Debian/Ubuntu
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Driver
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Once more, Debian/Ubuntu stdc++ paths changed.
With the code:
---
#include <iostream>
using namespace std;
int main() {
cout << "hello world";
}
---
Fails with:
/usr/lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/4.8/iostream:38:10:
fatal error:
'bits/c++config.h' file not found
#include <bits/c++config.h>
^
1 error generated.
With libstdc++6-4.7-dev, the path was:
/usr/include/c++/4.7/i486-linux-gnu/bits/c++config.h
With libstdc++-4.8-dev:
/usr/include/i386-linux-gnu/c++/4.8/bits/c++config.h
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs