[cfe-dev] Clang complains
Devchandra L Meetei
dlmeetei at gmail.com
Mon Mar 25 10:49:26 PDT 2013
Clang 3.2 complains following but the system has the stdlib.h in
/usr/include.
What could be the reason? is clang specifically looking for cstdlib?
/home/govind/CodeSpace/pegasus/src/Pegasus/Common/Config.h:133:10: fatal
error: 'cstdlib' file not found
>>>>>>#include <cstdlib> <<<<<<<<<
^
1 error generated.
[govind at localhost pegasus]$ locate stdlib.h
>>>>/usr/include/stdlib.h <<<<<<<<<<
/usr/include/bits/stdlib.h
/usr/include/boost/cstdlib.hpp
/usr/include/c++/4.5.1/tr1/stdlib.h
/usr/include/freetype2/freetype/config/ftstdlib.h
/usr/share/man/man0p/stdlib.h.0p.gz
and Following command also shows the
[govind at localhost pegasus]$ echo | `gcc -print-prog-name=cc1` -v
ignoring nonexistent directory
"/usr/lib/gcc/i686-redhat-linux/4.5.1/include-fixed"
ignoring nonexistent directory
"/usr/lib/gcc/i686-redhat-linux/4.5.1/../../../../i686-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/lib/gcc/i686-redhat-linux/4.5.1/include
>>>>>>>> /usr/include <<<<<<<<
End of search list.
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> <visibility> <early_local_cleanups> <whole-program>
<inline>Assembling functions
--
Warm Regards
--Dev
OpenPegasus Developer
"It's Always better to try and fail instead of not doing/trying anything"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130325/431f87bd/attachment.html>
More information about the cfe-dev
mailing list