ad6fd12391f2b2c8ef95a161a5c90351da65256e
galt
  Wed Jan 1 05:10:29 2025 -0800
add pragma for the last compile issue not fixed yet.

diff --git src/inc/common.h src/inc/common.h
index dee94e2..34b0451 100644
--- src/inc/common.h
+++ src/inc/common.h
@@ -157,30 +157,33 @@
  * and create our own.  Our implementation is the same as used on Solaris.
  */
 #if defined(__va_copy) && !defined(va_copy)
 #   define va_copy __va_copy
 #endif
 #if !defined(va_copy)
 #   define va_copy(to, from) ((to) = (from))
 #endif
 
 /* Cast a pointer to a long long. Use to printf format points as long-longs
  * in a 32/64bit portable manner.  Format should use %llx for the result.
  * Needed because casting a pointer to a different sized number cause a
  * warning with gcc */
 #define ptrToLL(p) ((long long)((size_t)p))
 
+// TODO GALT This is a temporary work around.
+#pragma GCC diagnostic ignored "-Wsizeof-pointer-div"
+
 /* How big is this array? */
 #define ArraySize(a) (sizeof(a)/sizeof((a)[0]))
 
 #define uglyf printf  /* debugging printf */
 #define uglyAbort errAbort /* debugging error abort. */
 #define uglyOut stdout /* debugging fprintf target. */
 
 size_t memCheckPoint();
 /* Return the amount of memory allocated since last called. */
 
 void *needMem(size_t size);
 /* Need mem calls abort if the memory allocation fails. The memory
  * is initialized to zero. */
 
 void *needLargeMem(size_t size);