more cross-compile warning bits

maximize warnings for NetHack sources
minimize warnings for Lua and pdcurses which we won't be changing
This commit is contained in:
nhmall
2021-02-04 19:42:07 -05:00
parent d2f570154a
commit b14c47132f
3 changed files with 21 additions and 23 deletions

View File

@@ -452,6 +452,8 @@ ckmailstatus(void)
}
}
DISABLE_WARNING_FORMAT_NONLITERAL
/*ARGSUSED*/
void
readmail(struct obj *otmp UNUSED)
@@ -522,6 +524,8 @@ readmail(struct obj *otmp UNUSED)
pline("It reads: \"%s\"", junk[rn2(SIZE(junk))]);
}
RESTORE_WARNING_FORMAT_NONLITERAL
#endif /* !UNIX && !VMS */
#ifdef UNIX