Skip to content

Regression: clang claims that -[NSApp stop:] is deprecated – but only on i386 #11931

@nico

Description

@nico
Bugzilla Link 11559
Resolution WORKSFORME
Resolved on Dec 13, 2011 18:52
Version unspecified
OS All

Extended Description

$ 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"worksformeResolved as "works for me"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions