[LLVMbugs] [Bug 11559] New: Regression: clang claims that -[NSApp stop:] is deprecated – but only on i386

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 13 13:46:43 PST 2011


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: unassignedclangbugs at nondot.org
        ReportedBy: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list