aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/emacsgtkfixed.c7
2 files changed, 9 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c8588b973f8..2bc041f0435 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,10 @@
12012-09-13 Paul Eggert <eggert@cs.ucla.edu> 12012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Better workaround for GNOME bug when --enable-gcc-warnings.
4 * emacsgtkfixed.c (G_STATIC_ASSERT): Remove, undoing last change.
5 Instead, disable -Wunused-local-typedefs. See Dmitry Antipov in
6 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00335.html>.
7
3 Simplify SIGIO usage (Bug#12408). 8 Simplify SIGIO usage (Bug#12408).
4 The code that dealt with SIGIO was crufty and confusing, e.g., it 9 The code that dealt with SIGIO was crufty and confusing, e.g., it
5 played tricks like "#undef SIGIO" but these tricks were not used 10 played tricks like "#undef SIGIO" but these tricks were not used
diff --git a/src/emacsgtkfixed.c b/src/emacsgtkfixed.c
index a21d0f8a422..c0d29a640ed 100644
--- a/src/emacsgtkfixed.c
+++ b/src/emacsgtkfixed.c
@@ -28,9 +28,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
28#include "xterm.h" 28#include "xterm.h"
29 29
30/* Silence a bogus diagnostic; see GNOME bug 683906. */ 30/* Silence a bogus diagnostic; see GNOME bug 683906. */
31#include <verify.h> 31#if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__
32#undef G_STATIC_ASSERT 32# pragma GCC diagnostic push
33#define G_STATIC_ASSERT(x) verify (x) 33# pragma GCC diagnostic ignored "-Wunused-local-typedefs"
34#endif
34 35
35#define EMACS_TYPE_FIXED emacs_fixed_get_type () 36#define EMACS_TYPE_FIXED emacs_fixed_get_type ()
36#define EMACS_FIXED(obj) \ 37#define EMACS_FIXED(obj) \