This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30439] Intended Behaviour? #include <signal.h> searches for signal.h in local directory
- From: "andersin at freenet dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2007 14:28:55 -0000
- Subject: [Bug c/30439] Intended Behaviour? #include <signal.h> searches for signal.h in local directory
- References: <bug-30439-13903@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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 general, but in my
special case it is happening because it is set up in my .bashrc like so:
export C_INCLUDE_PATH=/home/cbs/local/include:$C_INCLUDE_PATH, so I do not see
a way of properly doing it save for checking if C_INCLUDE_PATH is empty before
adding to it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30439