summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2012-11-19 00:37:29 +0000
committerattilamolnar <attilamolnar@hush.com>2012-11-19 01:46:25 +0100
commit357a38d16000fac89ca76aa9b1e1a7a3afd3d6eb (patch)
treea58a52078d8adf509f586be878588f901761be81 /src/modules
parenta23dc3de455c6224ca74ed5d155eb14fd92caf9f (diff)
Fix m_ssl_gnutls under GCC on recent versions of GnuTLS.
Commas at the end of enumerator lists are valid in C99 but are not valid in C++ before C++11. This causes a build error on GCC when using -pedantic.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index db69b6557..45076c8b4 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -42,6 +42,7 @@
/* $ModDesc: Provides SSL support for clients */
/* $CompileFlags: pkgconfincludes("gnutls","/gnutls/gnutls.h","") exec("libgcrypt-config --cflags") */
/* $LinkerFlags: rpath("pkg-config --libs gnutls") pkgconflibs("gnutls","/libgnutls.so","-lgnutls") exec("libgcrypt-config --libs") */
+/* $NoPedantic */
// These don't exist in older GnuTLS versions
#if(GNUTLS_VERSION_MAJOR < 2)