We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef139c1 commit aad1a5cCopy full SHA for aad1a5c
2 files changed
README.md
@@ -79,6 +79,7 @@ libhttpserver can be used without any dependencies aside from libmicrohttpd.
79
80
The minimum versions required are:
81
* g++ >= 5.5.0 or clang-3.6
82
+* C++17 or newer
83
* libmicrohttpd >= 0.9.64
84
* [Optionally]: for TLS (HTTPS) support, you'll need [libgnutls](http://www.gnutls.org/).
85
* [Optionally]: to compile the code-reference, you'll need [doxygen](http://www.doxygen.nl/).
src/httpserver.hpp
@@ -21,6 +21,10 @@
21
#ifndef SRC_HTTPSERVER_HPP_
22
#define SRC_HTTPSERVER_HPP_
23
24
+#if __cplusplus < 201703L
25
+# error("libhttpserver requires C++17 or later.")
26
+#endif
27
+
28
#define _HTTPSERVER_HPP_INSIDE_
29
30
#include "httpserver/basic_auth_fail_response.hpp"
0 commit comments