Skip to content

Fix MAYBE_UNUSED for some compilers#1409

Merged
ZedThree merged 2 commits intonextfrom
fix-maybe-unused
Nov 28, 2018
Merged

Fix MAYBE_UNUSED for some compilers#1409
ZedThree merged 2 commits intonextfrom
fix-maybe-unused

Conversation

@ZedThree
Copy link
Member

Some compilers may have __has_cpp_attribute but not
maybe_unused. Make sure MAYBE_UNUSED always gets defined to
something

Fixes #1407

Some compilers may have `__has_cpp_attribute` but not
`maybe_unused`. Make sure MAYBE_UNUSED always gets defined to
something
johnomotani
johnomotani previously approved these changes Nov 27, 2018
Copy link
Contributor

@johnomotani johnomotani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fix works for me 👍

@ZedThree ZedThree merged commit 607395a into next Nov 28, 2018
@ZedThree ZedThree deleted the fix-maybe-unused branch November 28, 2018 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants