Enable some Objective-C/C++ diagnostics that are currently warning-free
Categories
(Core :: Widget: Cocoa, enhancement, P3)
Tracking
()
People
(Reporter: cpeterson, Assigned: cpeterson)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Only enable them when building on macOS or cross-compiling for macOS on Linux.
catch redeclaration of ObjC method parameter name
-Wduplicate-method-arg
catch multiple declarations of ObjC method found
-Wduplicate-method-match
catch ObjC method with no return type specified
-Wmissing-method-return-type
catch implicit conversions between ObjC BOOL and int
-Wobjc-signed-char-bool
catch semicolon before ObjC method body
-Wsemicolon-before-method-body
catch ObjC method parameter type not matching super class method
-Wsuper-class-method-mismatch
Assignee | ||
Comment 1•2 years ago
|
||
Green try build with these diagnostics enabled:
https://treeherder.mozilla.org/jobs?repo=try&revision=3aa1220e2c71084e06a01b168dca662938f3530c
Assignee | ||
Comment 2•2 years ago
•
|
||
Only enable them when building on macOS or cross-compiling for macOS on Linux.
catch redeclaration of ObjC method parameter name
-Wduplicate-method-arg
catch multiple declarations of ObjC method found
-Wduplicate-method-match
catch ObjC method with no return type specified
-Wmissing-method-return-type
catch implicit conversions between ObjC BOOL and int
-Wobjc-signed-char-bool
catch semicolon before ObjC method body
-Wsemicolon-before-method-body
catch ObjC method parameter type not matching super class method
-Wsuper-class-method-mismatch
Pushed by cpeterson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/35cd76f6b7bf Enable some Objective-C/C++ diagnostics that are currently warning-free. r=firefox-build-system-reviewers,andi
Comment 4•2 years ago
|
||
bugherder |
Description
•