-
Notifications
You must be signed in to change notification settings - Fork 113
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
std::system_error on calc example #23
Comments
@mattulbrich, thanks for the report. I have tried 'g++ -I .. -std=c++11 calc.cc' and 'clang++ -I .. -std=c++11 calc.cc' on my MacBook. But both worked fine, gave me '14' as a result. Which OS or environment are you working on? Thank you! |
Thanks for looking into it!
Also on another (opensuse) machine with |
And I can provide a stacktrace for you. Perhaps it helps a little ...
|
I installed Ubuntu 16.04 on VirtualBox on my MacBook. I am now able to reproduce the problem. I googled and found some helpful information: According to the suggestion on the above, I tried the following and it worked!
Could you please try it again with |
It works! The resulting executable now links against Thank you very much for finding this out! |
Thanks for the good report! |
very helpful, I encounter a bug in protobuf::Message::DebugString(), this function will call std::call_once and throw std::system_error |
Hi! I tried to run
calc.cc
from theexample
directory. Unfortunately, I received an error messageThis is both with g++ and with clang++. Apparently this call to
std::call_once
is responsiblehttps://github.com/yhirose/cpp-peglib/blob/21934dd1ce/peglib.h#L1483
The text was updated successfully, but these errors were encountered: