-
Notifications
You must be signed in to change notification settings - Fork 230
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
add missing include to fix build for some compilers #368
Conversation
@felixguendling Hello! Thank you for your contribution. Could you please share the error output that you are trying to fix? When you say MacOS, which compiler and version are you using? Regards! |
|
Compiler output on MacOS:
Version:
PS: I'm using PEGTL to parse OpenStreetMap like opening hours (example). It's really simple to use and I didn't expect compilation times to be so fast. Thank you for providing this library! |
@felixguendling Thank you for providing such details! |
This is IMHO not the correct fix. |
Looking at the PEGTL/include/tao/pegtl/normal.hpp Lines 22 to 27 in 68f4461
|
Right. I think this is due to the addition of |
I changed it. This looks better now (and still works for me). |
@ColinH I assigned it back to you, as the main branch is currently your playground. The PR is OK from my side. |
Right, thanks everybody, we can merge this. I'll manually update the |
On some compilers / standard library combinations (e.g. Mac OS) the build does not work
This adds missing includes and fixes the build.