> > > > I implemented (experimental) precompiled headers support in gnustep-mak= > e. > > Unfortunately, with my compiler (4.1.1 20070105 (Red Hat 4.1.1-51)) I can= > 't get > precompiled ObjC headers to work. :-( > > It works fine for C headers, but it doesn't seem to work for ObjC headers= > . > > In attach a couple of files, test.h and test.m. > > If I compile them the standard way -- > > gcc test.m -lobjc > > it all works. > > If I first precompile test.h > > gcc -x objective-x-header test.h > > I get the test.h.gch file, which looks ok, but then compiling fails -- > > gcc test.m -lobjc > > test.m:4: warning: cannot find interface declaration for =EF=BF=BDTestCla= > ss=EF=BF=BD > test.m:4: error: redefinition of =EF=BF=BDstruct TestClass=EF=BF=BD > (compilation aborts)
Can you file a bug at http://gcc.gnu.org/bugzilla/ and I will look at it right away, it is most likely something is just change to break objc-act.c. Thanks, Andrew Pinski _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep