1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 09:00:31 -08:00

* emacsgtkfixed.c: Port to GCC 4.6.

GCC 4.6 complains about -Wunused-local-typedefs, introduced in 4.7.
This commit is contained in:
Paul Eggert 2013-07-23 07:38:51 +01:00
parent 02efb5eee6
commit 9ca960e27a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-07-23 Paul Eggert <eggert@cs.ucla.edu>
* emacsgtkfixed.c: Port to GCC 4.6.
GCC 4.6 complains about -Wunused-local-typedefs, introduced in 4.7.
2013-07-23 Juanma Barranquero <lekktu@gmail.com>
* callproc.c (child_setup)[!WINDOWSNT]: Move exec_errno and pid

View file

@ -28,7 +28,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "xterm.h"
/* Silence a bogus diagnostic; see GNOME bug 683906. */
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
#if 4 < __GNUC__ + (7 <= __GNUC_MINOR__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-local-typedefs"
#endif