mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
Improved support for pelles c:
* Refactor nmake files so that a compiler-specific makefile is included; move Microsoft Visual C-specific options to mv.nmk.
* Add nmake files for Pelles (w3i3pc.nmk and pc.nmk).
* Rename spw3i3mv.c to spw3i3.c and spw3i6mv.c to spw3i6.c since these are also used by Pelles C.
* Make reasonable changes to the source code to avoid warnings from Pelles C:
** check results of function calls;
** avoid useless return values;
** undef max before defining it;
** ensure printf formats are checkable;
** move notreached() assertions to the end of blocks;
** suppress warnings in cases where the code shouldn't be changed ("Unreachable code", "Inline assembly code is not portable", "Structured Exception Handling is not portable").
Copied from Perforce
Change: 184977
ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
a3575822cc
commit
c94be13bdf
56 changed files with 536 additions and 228 deletions
|
|
@ -131,8 +131,7 @@ static void allocMultiple(PoolStat stat)
|
|||
|
||||
static void reportResults(PoolStat stat, const char *name)
|
||||
{
|
||||
printf("\nResults for ");
|
||||
fputs(name, stdout);
|
||||
printf("\nResults for %s\n", name);
|
||||
printf("\n");
|
||||
printf(" Allocated %"PRIuLONGEST" objects\n", (ulongest_t)stat->aCount);
|
||||
printf(" Freed %"PRIuLONGEST" objects\n", (ulongest_t)stat->fCount);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue