-
Notifications
You must be signed in to change notification settings - Fork 103
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
Guard __has_attribute
for compilers that don't support it
#199
Guard __has_attribute
for compilers that don't support it
#199
Conversation
__has_include
for compilers that don't support it
__has_include
for compilers that don't support it__has_attribute
for compilers that don't support it
Signed-off-by: Larry Gritz <lg@larrygritz.com>
Hello,
A potential fix would be to test for GNUC >= 5
This works OK for gcc 4.8 |
Pushed an update, can you try it out? |
All good for me ! |
Oh, good, thanks for checking. Sometimes the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…oftwareFoundation#199) * Guard `__has_attribute` for compilers that don't support it Signed-off-by: Larry Gritz <lg@larrygritz.com> * take 2 Signed-off-by: Larry Gritz <lg@larrygritz.com>
* Guard `__has_attribute` for compilers that don't support it Signed-off-by: Larry Gritz <lg@larrygritz.com> * take 2 Signed-off-by: Larry Gritz <lg@larrygritz.com>
Fixes #154
Signed-off-by: Larry Gritz lg@larrygritz.com