Skip to content

Get rid of TBB_INTERFACE_NEW macro #147

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

Closed
wants to merge 1 commit into from
Closed

Conversation

hsbadr
Copy link
Contributor

@hsbadr hsbadr commented Jan 8, 2021

TBB_INTERFACE_NEW macro was introduced to check the new TBB interface,
whcih is not needed anymore. We can generally use __TBB_tbb_stddef_H macro
that is defined by tbb/tbb_stddef.h and is removed in the new interface,

This reverts commit f971883.

`TBB_INTERFACE_NEW` macro was introduced to check the new TBB interface,
whcih is not needed anymore. We can generally use `__TBB_tbb_stddef_H` macro
that is defined by `tbb/tbb_stddef.h` and is removed in the new interface,

This reverts commit f971883.
@kevinushey
Copy link
Contributor

Should we keep that around anyway, for compatibility with older versions of TBB (on older platforms)?

@hsbadr
Copy link
Contributor Author

hsbadr commented Jan 11, 2021

Should we keep that around anyway, for compatibility with older versions of TBB (on older platforms)?

It won't hurt if we keep it. Though, I introduced it in #141 and stan-dev/math#2257 and it won't exist anywhere after stan-dev/math#2261.

@hsbadr
Copy link
Contributor Author

hsbadr commented Jan 16, 2021

@kevinushey After thinking about this, I agree with you that it might be better to keep TBB_INTERFACE_NEW macro unless it causes any issues in the future (e.g., header conflicts, which is unlikely). Also, packages might use it if needed. So, I'm closing this PR.

@hsbadr hsbadr closed this Jan 16, 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.

2 participants