Skip to content

Fix NUM_GROUPS warning#278

Merged
dANW34V3R merged 1 commit intodevfrom
riscv-warningFix
Jan 30, 2023
Merged

Fix NUM_GROUPS warning#278
dANW34V3R merged 1 commit intodevfrom
riscv-warningFix

Conversation

@dANW34V3R
Copy link
Copy Markdown
Contributor

This pull request fixes the warning produced due to the name clash of NUM_GROUPS within riscv/InstructionGroups.hh and aarch64/InstructionGroups.hh. Instead of using #define which is resolved during pre-processing, these are changed to constexpr's which conform to namespaces so don't clash and also allows for type checking.

@dANW34V3R
Copy link
Copy Markdown
Contributor Author

#rerun tests

@FinnWilkinson FinnWilkinson requested a review from jj16791 January 6, 2023 11:48
@FinnWilkinson FinnWilkinson added the build Issues with the buid process and its dependencies label Jan 6, 2023
@dANW34V3R dANW34V3R merged commit 7779eef into dev Jan 30, 2023
jj16791 pushed a commit that referenced this pull request May 19, 2023
Fixes warning produced due to the name clash of NUM_GROUPS
@dANW34V3R dANW34V3R deleted the riscv-warningFix branch October 13, 2023 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues with the buid process and its dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants