WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 139941
Engineering builds of MiniBrowser ignore deprecated declaration warnings
https://bugs.webkit.org/show_bug.cgi?id=139941
Summary
Engineering builds of MiniBrowser ignore deprecated declaration warnings
mitz
Reported
2014-12-24 21:48:17 PST
MiniBrowser builds with GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS=NO even in the engineering configurations.
Attachments
Enable deprecation warnings
(3.53 KB, patch)
2014-12-24 21:52 PST
,
mitz
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2014-12-24 21:52:02 PST
Created
attachment 243738
[details]
Enable deprecation warnings
Darin Adler
Comment 2
2014-12-24 22:22:04 PST
Comment on
attachment 243738
[details]
Enable deprecation warnings View in context:
https://bugs.webkit.org/attachment.cgi?id=243738&action=review
> Tools/MiniBrowser/mac/AppDelegate.m:167 > +#pragma clang diagnostic push > +#pragma clang diagnostic ignored "-Wdeprecated-declarations" > if (result != NSOKButton) > return; > +#pragma clang diagnostic pop
I think we should be using NSFileHandlingPanelOKButton here instead of NSOKButton (not NSModalResponseOK), but I guess maybe that is not available in OS X 10.8 either.
> Tools/MiniBrowser/mac/AppDelegate.m:181 > +#pragma clang diagnostic push > +#pragma clang diagnostic ignored "-Wdeprecated-declarations" > if (result != NSOKButton) > return; > +#pragma clang diagnostic pop
Ditto.
mitz
Comment 3
2014-12-24 22:27:54 PST
(In reply to
comment #2
)
> Comment on
attachment 243738
[details]
> Enable deprecation warnings > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=243738&action=review
> > > Tools/MiniBrowser/mac/AppDelegate.m:167 > > +#pragma clang diagnostic push > > +#pragma clang diagnostic ignored "-Wdeprecated-declarations" > > if (result != NSOKButton) > > return; > > +#pragma clang diagnostic pop > > I think we should be using NSFileHandlingPanelOKButton here instead of > NSOKButton (not NSModalResponseOK), but I guess maybe that is not available > in OS X 10.8 either.
Thanks for the suggestion! NSFileHandlingPanelOKButton is more appropriate and has been available since 10.10. Fixed in <
http://trac.webkit.org/r177731
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug