-
Notifications
You must be signed in to change notification settings - Fork 1.7k
compile failed #885
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
Comments
Minimum versions: my environment: It works. |
I see this happening as well on master for Ubuntu. @ichengde is that build from the latest pull of master? I'm using this build
|
@ichengde note that I'm actually building in a docker environment. The last build I did was maybe 3 months ago. It looks like that compilation flag was added here: This is the version of g++ I have on my machine
However it seems that this is an issue with usage of http://www.lieberbiber.de/2018/01/14/what-a-gnu-compiler-bug-looks-like/ |
Interestingly it seems to manifest itself when you can't compile properly. I just made some adjustments so it can build on Ubuntu. Now, that error doesn't happen. It is at the global scope is how it is reported
Now that it all compiles, no message. |
I got the same error, which adjustments did you make? |
Are you getting any other compilation errors? Mine was related to other compilation errors. Once I remedied them, then the error went away. I have a PR opened. You can try https://github.com/mobileben/cpprestsdk/tree/issue_887 and see if that helps. |
Is that build from the latest pull of master? No, i use 2.10.3 version. Latest commented version, it throws compilation errors. |
@ichengde thanks much. If you have the chance, can you try my PR above and see if it remedies the compilation. Just an extra outside source to make sure it builds correctly. |
I build it successfully with latest master b211145. Thank you. |
cc1plus: error: unrecognized command line option "-Wno-format-truncation" [-Werror]
env:
Linux CentOS 7
gcc 4.8.5
make 2.12.3
but follow the guild of https://github.com/Microsoft/cpprestsdk. it failed.
The text was updated successfully, but these errors were encountered: