After too many problems with &quot;unfriendly C&quot;, I finally gave in and now compile everything with -fno-strict-overflow (the Linux kernel does the same thing).  I don&#x27;t care about architectures that don&#x27;t use twos-complement.