-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use [[deprecated]] to mark deprecated classes and functions #31021
Comments
A new Issue was created by @Dr15Jones Chris Jones. @Dr15Jones, @dpiparo, @silviodonato, @smuzaffar, @makortel, @qliphy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign core |
New categories assigned: core @Dr15Jones,@smuzaffar,@makortel you have been requested to review this Pull request/Issue and eventually sign? Thanks |
In order to avoid flooding the IBs with warnings, we could wrap the use of [[deprecated]] in a macro and make sure the macro is off during the IB builds but on during the pull request tests and when people build locally. |
Being able to ignore these warnings in IBs is (also?) my main concern. In PR tests, what about code in files not touched by the PR? If we manage to ignore those, this would effectively mean that any change in an "offending" file would require a migration away (which could be ok, but would require a policy discussion first I suppose). |
+1 This has been implemented. |
This issue is fully signed and ready to be closed. |
Both gcc 8.3+ and clang 9+ support the attrbute [[deprecated]]. We could use this to
These would likely generate a large number of warnings at first but would at least force pull requests to not use the deprecated items.
The text was updated successfully, but these errors were encountered: