From: jongfoster Date: Sat, 16 Mar 2002 14:27:22 +0000 (+0000) Subject: Ignoring a very common warning. X-Git-Tag: v_2_9_12~39 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=df15e522da4252061245619373f06b6361a46967 Ignoring a very common warning. --- diff --git a/config.h.win b/config.h.win index 981dd84a..6923b9e5 100755 --- a/config.h.win +++ b/config.h.win @@ -37,6 +37,9 @@ * * Revisions : * $Log: config.h.win,v $ + * Revision 1.15 2002/03/13 00:28:32 jongfoster + * Hiding all the warnings generated by #include + * * Revision 1.14 2001/11/30 21:35:54 jongfoster * Bumping version number to 2.9.10 * @@ -430,24 +433,27 @@ #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 - */ - +#pragma warning ( disable: 4100 4115 4201 4214 4244 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 + * + * C4244 conversion from 'int' to 'char', possible loss of data + * Should really fix this one. Throughout the JB code. + * + * 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 d11cb385..7b408853 100644 --- a/config.h.win32threads.win +++ b/config.h.win32threads.win @@ -37,6 +37,9 @@ * * Revisions : * $Log: config.h.win32threads.win,v $ + * Revision 1.10 2002/03/13 00:28:32 jongfoster + * Hiding all the warnings generated by #include + * * Revision 1.9 2001/11/30 21:35:54 jongfoster * Bumping version number to 2.9.10 * @@ -430,25 +433,28 @@ #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 - */ - - +#pragma warning ( disable: 4100 4115 4201 4214 4244 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 + * + * C4244 conversion from 'int' to 'char', possible loss of data + * Should really fix this one. Throughout the JB code. + * + * C4514 unreferenced inline/local function has been removed + * Caused by #include + */ + + #endif /* CONFIG_H_INCLUDED */