[cfe-commits] r42866 - in /cfe/trunk: AST/Type.cpp Parse/ParseStmt.cpp test/Parser/objc-type-printing.m

Fariborz Jahanian fjahanian at apple.com
Fri Oct 12 08:56:15 PDT 2007


On Oct 12, 2007, at 3:15 AM, Gabor Greif wrote:

> Hi Fariborz,
>
> this is what I get on sparc:
>
> Sema/selector-overload.m
> ******************** TEST 'Sema/selector-overload.m' FAILED!  
> ********************
> Command:
> clang Sema/selector-overload.m -fsyntax-only
> Output:
> Sema/selector-overload.m:2:9: error: 'Foundation/NSObject.h' file  
> not found
> #import <Foundation/NSObject.h>
>        ^
> Sema/selector-overload.m:8:1: error: cannot find interface  
> declaration for 'NSObject', superclass of 'Foo'
> @interface Foo : NSObject
> ^
> Sema/selector-overload.m:10:3: error: cannot find definition of 'id'
> - method:(int)a;
>  ^
> Sema/selector-overload.m:11:3: error: cannot find definition of 'id'
> - method:(int)a;
>  ^
> Segmentation Fault
> ******************** TEST 'Sema/selector-overload.m' FAILED!  
> ********************
>
> Especially the SEGV should not happen when the required objects are  
> not found.
> Please tell me if you need a backtrace or other info to track this  
> down.

No need to. This can be reproducible on any platform when super class  
not used and no return type is declared ('id' assumed). I will take a  
look.

- Fariborz

>
>
> Cheers,
>
> 	Gabor
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list