-
Notifications
You must be signed in to change notification settings - Fork 722
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
Including sio_socket.h and compilation wit clang fails. #16
Comments
Also minor thing in your readme: |
Thanks for reporting, but it seems OK on my clang. |
Yes i did. Problem is that i always use cmake. |
I can't use the solution mentioned above because it appears to break Qt's signals. Also, I'm using gcc 4.8.5, not clang as in the original issue. Is there an alternative, straightforward fix for this compiler error? |
q
qmake like that: DEFINES += QT_NO_KEYWORDS in *.pro file. |
nice~this suggestion works! |
The issue resembles one (http://stackoverflow.com/questions/16759025/two-level-nested-c-class-works-with-gcc-but-fails-with-clang) where another compiler is possibly too permissive. Hence, a possible violation of _ (...) In such cases, the nested-name-specifier of the class-head-name of the definition shall not begin with a decltype-specifier._
Any ideas where this error might come from?
The text was updated successfully, but these errors were encountered: