I suggest changing change the compiler options to suppress the warnings, or at least to make the warnings not cause compilation to fail. There's nothing invalid about a comparison that happens to always be true on the VAX. Comparisons like that are normal and should be expected in code that tries to be portable among a wide variety of hardware platforms.