<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - cmath:43:10: fatal error: 'bits/c++config.h' file not found"
   href="http://llvm.org/bugs/show_bug.cgi?id=16524">16524</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>cmath:43:10: fatal error: 'bits/c++config.h' file not found
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>C++
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kaos09@hotmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I've installed clang with this:

<a href="http://clang.llvm.org/get_started.html">http://clang.llvm.org/get_started.html</a>

but when i try to compile, i get this:

In file included from IHD_operator.cpp:9:
In file included from /usr/local/include/clang/Frontend/FrontendActions.h:13:
In file included from /usr/local/include/clang/Frontend/FrontendAction.h:21:
In file included from /usr/local/include/clang/Basic/LLVM.h:22:
In file included from /usr/local/include/llvm/Support/Casting.h:18:
In file included from /usr/local/include/llvm/Support/type_traits.h:20:
In file included from /usr/local/include/llvm/Support/DataTypes.h:37:
/usr/lib/gcc/i686-linux-gnu/4.7/../../../../include/c++/4.7/cmath:43:10: fatal
error: 'bits/c++config.h' file not found
#include <bits/c++config.h>
         ^
1 error generated.

The file exits in the correct path, but the problem is still there.
I tried some solutions according to other threads in this site, but none of
them seems to work. Any ideas?

Thanks.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>