summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2009-09-21 09:57:29 +0530
committerMukund Sivaraman <muks@banu.com>2009-09-21 09:57:29 +0530
commite9f82125604d4093d437e4ae393f06182a0972a4 (patch)
treefc4c082b940170ebb6e5c3f5b27f9af4ce532d39
parent0cc707b3ff082ae5f34bdcf437e1610987658672 (diff)
downloadtinyproxy-e9f82125604d4093d437e4ae393f06182a0972a4.tar.gz
tinyproxy-e9f82125604d4093d437e4ae393f06182a0972a4.zip
Suppress gcc warnings about variadic macros
Diffstat (limited to '')
-rw-r--r--src/log.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/log.h b/src/log.h
index a31f5e3..29b3704 100644
--- a/src/log.h
+++ b/src/log.h
@@ -89,6 +89,11 @@
#define LOG_CONN 8 /* extra to log connections without the INFO stuff */
+/* Suppress warnings when GCC is in -pedantic mode and not -std=c99 */
+#if (__GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96))
+#pragma GCC system_header
+#endif
+
/*
* Use this for debugging. The format is specific:
* DEBUG1("There was a major problem");