This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/11839] New: [3.4 Regression] GCC cannot find t/t.h if t is a file and t/t.h is in subdirectory temp


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: [3.4 Regression] GCC cannot find t/t.h if t is a file
                    and t/t.h is in subdirectory temp
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: critical
          Priority: P2
         Component: preprocessor
        AssignedTo: neil at gcc dot gnu dot org
        ReportedBy: pinskia at physics dot uc dot edu
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: *-*-*

When a file with the same name as a directory which you want to lookup, the 
preprocessor now rejects this:
touch t
mkdir temp
mkdir temp/t
echo "HELLO">temp/t/t.h
echo "#include \"t/t.h\"">t.c
gcc -I. -Itemp t.c
     t.c:1:17: t/t.h: Not a directory

This cause gdbtk to not be able to build.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]