Enable GCC pedantic warnings with strict flags,

also modify MIN/MAX macros to prevent shadowing.
This commit is contained in:
Campbell Barton
2014-03-30 15:02:24 +11:00
parent 0782187979
commit c16bd951cd
4 changed files with 35 additions and 18 deletions

View File

@@ -735,7 +735,7 @@ static void MEM_guarded_printmemlist_internal(int pydict)
membl->_count);
#else
print_error("%s len: " SIZET_FORMAT " %p\n",
membl->name, SIZET_ARG(membl->len), membl + 1);
membl->name, SIZET_ARG(membl->len), (void *)(membl + 1));
#endif
#ifdef DEBUG_BACKTRACE
print_memhead_backtrace(membl);