Skip to content
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

Remove deprecated method which causing gcc10 warnings #254

Merged
merged 1 commit into from
Aug 28, 2020

Conversation

linev
Copy link
Contributor

@linev linev commented Jun 9, 2020

Solving issue #253

@linev linev changed the title Remove deprecated method which causing warnings Remove deprecated method which causing gcc10 warnings Jun 9, 2020
Comment on lines +213 to +219
// template <typename V2>
// Vc_DEPRECATED("use reinterpret_components_cast instead") Vc_ALWAYS_INLINE V2
// reinterpretCast() const
// {
// typedef typename V2::EntryType AliasT2 Vc_MAY_ALIAS;
// return V2(*reinterpret_cast<const AliasT2 *>(&m_data));
// }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just remove these lines?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To keep sign - something was there but just disabled

Copy link
Member

@Axel-Naumann Axel-Naumann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In root-project/root#5833 @amadio argued for removing only the deprecation message, while @linev suggests to remove the whole function signature. Given that the interface is deprecated since 5 years I think we should remove it. I bet Matthias deprecated it for a reason. I am OK with commenting it to leave a trace of the function's removal.

Given all this, I believe this PR should get merged.

@linev
Copy link
Contributor Author

linev commented Aug 27, 2020

@Axel-Naumann, should we merge it? I cannot do it

@agheata agheata merged commit 395f41e into VcDevel:1.4 Aug 28, 2020
@bernhardmgruber bernhardmgruber added this to the Vc 1.4.2 milestone Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants