-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
'NOEXCEPT' does not name a type #30
Comments
Hi @antonlukyanov , |
@JosephP91, replacing NOEXCEPT to noexcept solved the problem, thanks. However, there are many places in headers where NOEXCEPT is used and everything compiles fine except for curl_header.h. |
@antonlukyanov yes, I noticed this thing now. It's very strange. @qqiangwu how is this possible? In curl_header.h and curl_header.cpp, if I replace NOEXCEPT with noexcept, everything compiles. If I use NOEXCEPT it does not compile. |
@antonlukyanov What's your compiler? gcc or mingw? |
@qqiangwu I think MinGW. It is written in the first comment. |
@qqiangwu, here is more precise information about used compiler:
|
@JosephP91 I forgot to add |
@qqiangwu Oh, ok! I added the include. Thank you! |
Solved |
@JosephP91 BTW, destructors are by default noexcept, so the NOEXCEPT in |
@qqiangwu So I could remove the NOEXCEPT from every destructor declaration. Right? |
It's always good to learn something! Thank you! |
I still see this error when I compile with curl... c:/.../curlcpp/include/curl_config.h:32:22: error: 'noexcept' does not name a type Any suggestions how to fix this compilation error? I don't want (and don't think I should be) to remove NOEXCEPT from curlcpp package as it compiles just fine and I was able to create the library. |
When I compile curlcpp on Windows with MinGW I get the following error:
How can I fix this?
The text was updated successfully, but these errors were encountered: