--- Comment #7 from andersin at freenet dot de 2007-01-14 14:28 ---
Your are correct, I have C_INCLUDE_PATH set (sorry I forgot to mention it). I
did not think it important, but it is. If C_INCLUDE_PATH ends with a colon,
compilation fails. Removing the colon is not a problem in
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-01-14 18:21 ---
a: means have a and the current directory.
So this is not a bug, C_INCLUDE_PATH acts just like PATH in that an empty
argument after the colon means the current directory.
export
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-01-14 04:56 ---
#include ... search starts here:
/home/cbs/local/include
.
/usr/local/include
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include
/usr/include
Are you sure you don't have any of the following env variables set
--- Comment #1 from andersin at freenet dot de 2007-01-11 17:29 ---
Created an attachment (id=12884)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12884action=view)
testcase
Testcase:
if ./signal.h exists, it fails to compile, since sig_atomic_t is not defined.
If ./signal.h does
--- Comment #2 from andersin at freenet dot de 2007-01-11 17:31 ---
Created an attachment (id=12885)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12885action=view)
output on failure
output of gcc -v source.c if ./signal.h exists
--
--- Comment #3 from andersin at freenet dot de 2007-01-11 17:32 ---
Created an attachment (id=12886)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12886action=view)
preprossesed source on error
Preprocessed source when ./signal.h exists and compiling fails
--
--- Comment #4 from andersin at freenet dot de 2007-01-11 17:33 ---
Created an attachment (id=12887)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12887action=view)
output on success
Output when running gcc -v signal.c when ./signal.h is not present
--
--- Comment #5 from andersin at freenet dot de 2007-01-11 17:33 ---
Created an attachment (id=12888)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12888action=view)
preprossesed source on success
Preprocessed source when ./source.h is not present
--