[LLVMbugs] [Bug 14923] New: clang cannot find gcc 4.8 headers under Debian/Ubuntu

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 11 10:03:30 PST 2013


             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: unassignedclangbugs at nondot.org
        ReportedBy: sylvestre at debian.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Once more, Debian/Ubuntu stdc++ paths changed.

With the code:
#include <iostream>

using namespace std;
int main() {
  cout << "hello world";
Fails with:

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:

With libstdc++-4.8-dev:

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.

More information about the llvm-bugs mailing list