Skip to content
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

g++: types.h compilation warning -Wundef #1109

Open
peterlauro1973 opened this issue Jun 19, 2023 · 0 comments
Open

g++: types.h compilation warning -Wundef #1109

peterlauro1973 opened this issue Jun 19, 2023 · 0 comments

Comments

@peterlauro1973
Copy link

when the api/mraa/types.h is included in include hierarchy of project which compiles with a warning flag -Wundef, the following warning is shown

/api/mraa/types.h:56:5:  warning: "__STDC_VERSION__" is not defined, evaluates to 0 [-Wundef]
   56 | #if __STDC_VERSION__ >= 199901L
instead of #if __STDC_VERSION__ >= 199901L
utilize: #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
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

No branches or pull requests

1 participant