diff options
author | Mukund Sivaraman <muks@banu.com> | 2009-09-21 09:57:29 +0530 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2009-09-21 09:57:29 +0530 |
commit | e9f82125604d4093d437e4ae393f06182a0972a4 (patch) | |
tree | fc4c082b940170ebb6e5c3f5b27f9af4ce532d39 | |
parent | 0cc707b3ff082ae5f34bdcf437e1610987658672 (diff) | |
download | tinyproxy-e9f82125604d4093d437e4ae393f06182a0972a4.tar.gz tinyproxy-e9f82125604d4093d437e4ae393f06182a0972a4.zip |
Suppress gcc warnings about variadic macros
-rw-r--r-- | src/log.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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"); |