[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5881] Suppress an apparently bogus error message
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5881] Suppress an apparently bogus error message |
Date: |
Fri, 14 Mar 2014 13:41:17 +0000 |
Revision: 5881
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5881
Author: chicares
Date: 2014-03-14 13:41:16 +0000 (Fri, 14 Mar 2014)
Log Message:
-----------
Suppress an apparently bogus error message
Modified Paths:
--------------
lmi/trunk/wx-3.0.0.patch
Modified: lmi/trunk/wx-3.0.0.patch
===================================================================
--- lmi/trunk/wx-3.0.0.patch 2014-03-13 21:43:14 UTC (rev 5880)
+++ lmi/trunk/wx-3.0.0.patch 2014-03-14 13:41:16 UTC (rev 5881)
@@ -27,3 +27,21 @@
/*
wxCALL_FOR_EACH(what, ...) calls the macro from its first argument,
what(pos, x),
for every remaining argument 'x', with 'pos' being its 1-based index in
+diff --recursive '--unified=3' original/wxWidgets-3.0.0/include/wx/testing.h
modified/wxWidgets-3.0.0/include/wx/testing.h
+--- original/wxWidgets-3.0.0/include/wx/testing.h 2013-11-11
13:10:40.000000000 +0000
++++ modified/wxWidgets-3.0.0/include/wx/testing.h 2014-03-13
21:37:54.000000000 +0000
+@@ -337,6 +337,14 @@
+ method.
+ */
+ #ifdef HAVE_VARIADIC_MACROS
++/* There is no other way to suppress the
++ * "anonymous variadic macros were introduced in C99"
++ * diagnostic with gcc-3.x . See:
++ * http://lists.nongnu.org/archive/html/lmi/2013-07/msg00002.html
++ */
++# if defined(__GNUC__) && __GNUC__ == 3
++# pragma GCC system_header
++# endif /* gcc-3.x */
+ #define wxTEST_DIALOG(codeToRun, ...)
\
+ {
\
+ wxTEST_DIALOG_HOOK_CLASS wx_hook;
\
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5881] Suppress an apparently bogus error message,
Greg Chicares <=