nw="$nw -Wmissing-braces"
fi
- # This causes too much noise in the MinGW build
+ # These cause too much noise in the MinGW build
if test $opsys = mingw32; then
nw="$nw -Wpointer-sign"
+ nw="$nw -Wsuggest-attribute=format"
fi
gl_MANYWARN_ALL_GCC([ws])
/* BEGIN: Common functions */
+#ifndef WINDOWSNT
/* Like perror, but signals an error. */
static _Noreturn void
error ("%s", msg);
}
-
-#ifndef WINDOWSNT
/* Display a warning message. */
static void
const char *cap, *name;
};
+#ifndef DOS_NT
/* Termcap capability names that correspond directly to X keysyms.
Some of these (marked "terminfo") aren't supplied by old-style
(Berkeley) termcap entries. They're listed in X keysym order;
{"!3", "S-undo"} /*shifted undo key*/
};
-#ifndef DOS_NT
static char **term_get_fkeys_address;
static KBOARD *term_get_fkeys_kboard;
static Lisp_Object term_get_fkeys_1 (void);
information. */
/* Make array big enough to hold surrogates. */
+ eassume (0 <= nglyphs); /* pacify GCC warning on next line */
wcode = alloca (nglyphs * sizeof (WORD) * 2);
for (i = 0; i < nglyphs; i++)
{
/* Match a single subrange. SYM is set if bit N is set in subranges. */
#define SUBRANGE(n,sym) \
- if (subranges[(n) / 32] & (1 << ((n) % 32))) \
+ if (subranges[(n) / 32] & (1U << ((n) % 32))) \
supported = Fcons ((sym), supported)
/* Match multiple subranges. SYM is set if any MASK bit is set in