Skip to content

[SYCL] Avoid clashes with compiler macro #6911

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

Conversation

romanovvlad
Copy link
Contributor

Old version of gcc/glibc toolchains may end up defining "major" macro which clashes with "major" variable in the OpenCL plugin code. https://sourceware.org/bugzilla/show_bug.cgi?id=19239

The patch workarounds the issue by simply renaming the variable.

Old version of gcc/glibc toolchains may end up defining "major"
macro which clashes with "major" variable in the OpenCL plugin
code.

The patch workarounds the issue by simply renaming the variable.
@romanovvlad romanovvlad requested a review from a team as a code owner September 29, 2022 09:08
@bader
Copy link
Contributor

bader commented Sep 29, 2022

FYI: This looks like a duplicate of #6906.

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