Skip to content

Prevent a -Wundef warning#263

Merged
thiagomacieira merged 1 commit intointel:mainfrom
dangelog:fix-w-undef
Jan 21, 2025
Merged

Prevent a -Wundef warning#263
thiagomacieira merged 1 commit intointel:mainfrom
dangelog:fix-w-undef

Conversation

@dangelog
Copy link
Contributor

Follow the same "pattern" as for the rest of the #if directive: first test if a macro is defined, then test the value. Otherwise the code triggers a -Wundef warning (e.g. when building in C++).

Follow the same "pattern" as for the rest of the #if directive: first
test if a macro is defined, then test the value. Otherwise the code
triggers a -Wundef warning (e.g. when building in C++).
@thiagomacieira thiagomacieira merged commit 2dde97f into intel:main Jan 21, 2025
6 checks passed
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