http://llvm.org/bugs/show_bug.cgi?id=11559

             Bug #: 11559
           Summary: Regression: clang claims that -[NSApp stop:] is
                    deprecated – but only on i386
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


$ cat test.mm
#import <AppKit/AppKit.h>

int main() {
  [NSApp stop:nil];
}
tests-MacBook-Pro-2:src test$ third_party/llvm-build/Release+Asserts/bin/clang
-c  test.mm   
tests-MacBook-Pro-2:src test$ third_party/llvm-build/Release+Asserts/bin/clang
-c  test.mm   -arch i386
test.mm:4:4: warning: 'stop:' is deprecated [-Wdeprecated-declarations]
  [NSApp stop:nil];
   ^
1 warning generated.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to