This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: -isystem /usr/include - a bad idea? System header files not found
- From: Jens Seidel <jensseidel at users dot sf dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 3 Nov 2008 12:56:16 +0100
- Subject: Re: -isystem /usr/include - a bad idea? System header files not found
- References: <20081029160021.GA12010@merkur.sol.de>
On Wed, Oct 29, 2008 at 05:00:22PM +0100, Jens Seidel wrote:
> $ cat test.cpp
> #include <cstdlib>
>
> $ g++ -c -isystem /usr/include test.cpp
> In file included from test.cpp:1:
> /usr/include/c++/4.3/cstdlib:73:25: error: stdlib.h: No such file or directory
> ...
I opened http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38000 for this bug.
Jens