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 objc/11649] New: symlinks do not work with #import


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

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

           Summary: symlinks do not work with #import
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: objc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wo701 at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org

Symlinks don't work with #import; they work with 2.95.

I found out becuase bug compiling, but could generate testcase:

create file test1.h with following content:

#warning "File imported"

create file test2.h as symlink to test1.h:

ln -s test1.h test2.h

compile file main.m:

#import "file1.h"
#import "file2.h"

int main() {exit(0);}

2.95 print "File imported" once, correct; new gcc print "File imported" twice,
wrong.


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