We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm having an issue when compiling a program that uses qhttpengine on Windows. The use of DELETE at
DELETE
qhttpengine/src/include/qhttpengine/socket.h
Line 134 in 43f55df
winnt.h
My current workaround for this is to rename the DELETE in socket.h to something else but this obviously isn't a good solution to the problem.
socket.h
Thanks for your help and for your software!
The text was updated successfully, but these errors were encountered:
One possible option (assuming you don't need the DELETE constant from winnt.h) is to add the following line before including socket.h:
#undef DELETE #include <qhttpengine/socket.h>
As for a long term solution, let me give this some careful thought.
(This is one of the reasons I don't like #defines - it pollutes the global namespace and causes problems like this.)
#define
Sorry, something went wrong.
No branches or pull requests
I'm having an issue when compiling a program that uses qhttpengine on Windows.
The use of
DELETE
atqhttpengine/src/include/qhttpengine/socket.h
Line 134 in 43f55df
DELETE
macro that in defined inwinnt.h
. This is causing the compile to fail with a syntax error.My current workaround for this is to rename the
DELETE
insocket.h
to something else but this obviously isn't a good solution to the problem.Thanks for your help and for your software!
The text was updated successfully, but these errors were encountered: