Ignore:
Timestamp:
Mar 2, 2008, 12:52:07 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Fix a few more warnings.
  • Remove -Wshadow from the warnings because it is too verbose for now.
  • Remove warning flags that have no meaning in C++.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/jmalloc.cpp

    r39 r40  
    203203  for (;f;f=f->next,i++)
    204204  {   
    205     fprintf(fp,"%4d   %p (%d) %4d      ",i,f,((char *)f-(char *)sfirst),f->size);
     205    fprintf(fp, "%4d   %p (%ld) %4ld      ",
     206            i, f, (long int)((char *)f - (char *)sfirst), (long int)f->size);
    206207#ifdef MEM_CHECK
    207208    if (f->size>0)
     
    236237
    237238
    238   fprintf(fp,"************** CACHE SPACE ******************\n",block_size);
     239  fprintf(fp,"************** CACHE SPACE %i ******************\n", block_size);
    239240  i=0;
    240241  for (f=cfirst;f;f=f->next,i++)
     
    690691    "    DOS users  : Remove any TSR's and device drivers you can.\n"
    691692    "    UNIX users : Do you have a swapfile/partition setup?\n";
     693#ifdef __WATCOMC__
    692694static char const *not_enough_low_memory_message =
    693695    "Memory Manager : Not enough low memory available (%d : need %d)\n"
     
    696698    "    - remove TSRs & drivers not needed by ABUSE\n"
    697699    "    - add memory to your system\n";
     700#endif
    698701
    699702void jmalloc_init(int32_t min_size)
Note: See TracChangeset for help on using the changeset viewer.