-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
clang 3.8.0 croaks while trying to compile with debug symbols #1097
Comments
Related clang bugfix: https://llvm.org/viewvc/llvm-project?view=revision&revision=259973 |
@TurpentineDistillery I'm not sure what to make of https://llvm.org/viewvc/llvm-project?view=revision&revision=259973 - is your described change in the library still required? |
I'll leave it to your discretion. If more people encounter this issue, then this would be a possible workaround. That said, if you don't intend to apply it, then perhaps exclude clang 3.8.0 and earlier from the list of supported compilers. |
Well we successfully use clang version 3.8.0-2ubuntu3~trusty5 (tags/RELEASE_380/final) with Travis. That's why I am confused about this. |
Hmm, not sure what to say about this. Perhaps the compiler triggered under specific conditions only (maybe depends on libstdc++ version?). Since this does not appear to be a more widespread problem, I'll go ahead an close. |
I did not mean to shut down the discussion. I just never heard of this issue before. If you do find out more details, please let me know! |
To clarify: the compiler aborts, rather than a mere compilation error.
Initial problematic commit: 8e681d1
To reproduce:
Proposed workaround:
parse_event_t
outside ofparser
intodetail
using parse_event_t = typename parser::parse_event_t;
inbasic_json
using parser_callback_t = typename parser::parser_callback_t;
withusing parser_callback_t = std::function<bool(int depth, detail::parse_event_t event, basic_json& parsed)>;
The text was updated successfully, but these errors were encountered: