Skip to content

fix: Fix compilation error on PowerPC targets#24

Open
benrichard-amd wants to merge 1 commit into
ROCm:amd-developfrom
benrichard-amd:numeric-limits-bool
Open

fix: Fix compilation error on PowerPC targets#24
benrichard-amd wants to merge 1 commit into
ROCm:amd-developfrom
benrichard-amd:numeric-limits-bool

Conversation

@benrichard-amd

@benrichard-amd benrichard-amd commented Jul 14, 2026

Copy link
Copy Markdown

Description

Part of work for ROCm/TheRock#5518 to make ROCm code portable.

__bool is a reserved keyword in clang/gcc on PowerPC systems. Change to __boolean to avoid the conflict.

  • Verified library and tests build on x86 and ppc64le.
  • Tests pass.

Checklist

  • [*] I am familiar with the Contributing Guidelines.
  • [*] New or existing tests cover these changes.
  • [*] The documentation is up to date with these changes.

…served keyword

__bool is a reserved keyword on PowerPC (ppc64le), causing compilation
failures. Rename the __numeric_limits_type enum value to __boolean.

Co-Authored-By: Claude <noreply@anthropic.com>
@benrichard-amd

Copy link
Copy Markdown
Author

Hi @obersteiner can you (or someone else) review this small change? Thanks!

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.

1 participant