From: jongfoster Date: Wed, 13 Mar 2002 00:28:32 +0000 (+0000) Subject: Hiding all the warnings generated by #include X-Git-Tag: v_2_9_12~47 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=000b29e5e446891f0cc059918443d33c1c229971 Hiding all the warnings generated by #include --- diff --git a/config.h.win b/config.h.win index 1dc1c285..981dd84a 100755 --- a/config.h.win +++ b/config.h.win @@ -37,6 +37,9 @@ * * Revisions : * $Log: config.h.win,v $ + * Revision 1.14 2001/11/30 21:35:54 jongfoster + * Bumping version number to 2.9.10 + * * Revision 1.13 2001/10/23 21:24:09 jongfoster * Support for FEATURE_CGI_EDIT_ACTIONS * @@ -427,5 +430,24 @@ #error This file is only intended for MS VC++ on Win32. For other compilers, please run configure. #endif /* (!defined(_MSC_VER)) && (!defined(RC_INVOKED)) */ +#pragma warning ( disable: 4100 4115 4201 4214 4514 ) + +/* + * C4100 : unreferenced formal parameter + * Very common, not a bug + * + * C4115 : named type definition in parentheses + * #include causes a warning about one of these. + * + * C4201 : nonstandard extension used : nameless struct/union + * Endemic in + * + * C4214 nonstandard extension used : bit field types other than int + * Endemic in + * + * C4514 unreferenced inline/local function has been removed + * Caused by #include + */ + #endif /* CONFIG_H_INCLUDED */ diff --git a/config.h.win32threads.win b/config.h.win32threads.win index e65e618c..d11cb385 100644 --- a/config.h.win32threads.win +++ b/config.h.win32threads.win @@ -37,6 +37,9 @@ * * Revisions : * $Log: config.h.win32threads.win,v $ + * Revision 1.9 2001/11/30 21:35:54 jongfoster + * Bumping version number to 2.9.10 + * * Revision 1.8 2001/10/23 21:24:09 jongfoster * Support for FEATURE_CGI_EDIT_ACTIONS * @@ -427,5 +430,25 @@ #error This file is only intended for MS VC++ on Win32. For other compilers, please run configure. #endif /* (!defined(_MSC_VER)) && (!defined(RC_INVOKED)) */ +#pragma warning ( disable: 4100 4115 4201 4214 4514 ) + +/* + * C4100 : unreferenced formal parameter + * Very common, not a bug + * + * C4115 : named type definition in parentheses + * #include causes a warning about one of these. + * + * C4201 : nonstandard extension used : nameless struct/union + * Endemic in + * + * C4214 nonstandard extension used : bit field types other than int + * Endemic in + * + * C4514 unreferenced inline/local function has been removed + * Caused by #include + */ + + #endif /* CONFIG_H_INCLUDED */