[Bug preprocessor/56686] gcc cannot find include header file

ktietz at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 22 06:54:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56686

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ktietz at gcc dot gnu.org
         Resolution|                            |WORKSFORME

--- Comment #3 from Kai Tietz <ktietz at gcc dot gnu.org> 2013-03-22 06:53:17 UTC ---
Sorry can't reproduce your issue.  I tested it with 4.6 up to 4.8 gcc version
 'gcc -c -o t.o subsub/t.c -I.' without issues.

I assume it might be caused that your working-directory isn't at TopDir, but in
SubDir on compilation of your code.   You can verify that by adding -I.. as
option.



More information about the Gcc-bugs mailing list