diff options
| author | 2019-02-16 09:10:05 +0000 | |
|---|---|---|
| committer | 2019-02-16 09:10:05 +0000 | |
| commit | ae3d015d413fe6b3369c144cc8a1947f2857fca9 (patch) | |
| tree | 4a98cc10b75b6e51ad3625111c2a428ba2717ee4 /src/modules/m_httpd.cpp | |
| parent | Replace translation macros with a C++11 initialiser list. (diff) | |
Remove a "commas at end of enumerator lists on C++03" warning.
Diffstat (limited to 'src/modules/m_httpd.cpp')
| -rw-r--r-- | src/modules/m_httpd.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp index 14ebc92c2..459fb6f5e 100644 --- a/src/modules/m_httpd.cpp +++ b/src/modules/m_httpd.cpp @@ -28,17 +28,6 @@ #include "iohook.h" #include "modules/httpd.h" -// Fix warnings about the use of commas at end of enumerator lists on C++03. -#if defined __clang__ -# pragma clang diagnostic ignored "-Wc++11-extensions" -#elif defined __GNUC__ -# if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 8)) -# pragma GCC diagnostic ignored "-Wpedantic" -# else -# pragma GCC diagnostic ignored "-pedantic" -# endif -#endif - // Fix warnings about shadowing in http_parser. #pragma GCC diagnostic ignored "-Wshadow" |
