Skip to content

[SYCL] Fix compilation for RHEL 7 with glibc 2.17 and earlier #4711

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

Merged
merged 1 commit into from
Oct 7, 2021

Conversation

s-kanaev
Copy link
Contributor

@s-kanaev s-kanaev commented Oct 6, 2021

This patch defines macro __STDC_FORMAT_MACROS which
was removed from glibc 2.18 to fix the issue

/../dpcpp-compiler/bin/../include/sycl/CL/sycl/queue.hpp:1208:44: error: expected ')'
 "%s:%d: %s: global id: [%" PRIu64 ",%" PRIu64 ",%" PRIu64

@dm-vodopyanov dm-vodopyanov marked this pull request as ready for review October 7, 2021 13:21
@dm-vodopyanov dm-vodopyanov requested a review from a team as a code owner October 7, 2021 13:21
@dm-vodopyanov dm-vodopyanov changed the title [SYCL] Allow for fix compilation for RHEL7 [SYCL] Fix compilation for RHEL 7 with glibc 2.17 and earlier Oct 7, 2021
@dm-vodopyanov dm-vodopyanov merged commit 18f5643 into intel:sycl Oct 7, 2021
@s-kanaev s-kanaev deleted the inttypes-incl-fix branch November 1, 2021 09:19
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