nitroshare / qhttpengine

HTTP server for Qt applications
MIT License
159 stars 76 forks source link

Fixed some gcc compiler warnings when using stricter options #26

Open jniemann66 opened 6 years ago

jniemann66 commented 6 years ago

I had a project that mandated the use of -Wall -Wextra -Werror This resulted in a few build errors, such as incorrect member initializer order, unused parameter, missing default in switch statement. So, I cleaned those up, and thought this might be of use.

Note There is still a '/* within comment' issue with line 184 of range.h - not sure what the best approach to fixing that is.

Anyway - QHttpEngine works a treat - much appreciated ! If there is anything I can help with, then let me know.

Cheers, Judd

kebekus commented 4 years ago

Same issue here. For me, qhttpengine works phantastically well, but the compiler warnings are a nuisance. I would much appreciate if this was fixed.