by yoklov · 12y ago · 0 comments
GCC displayed more than 1,000 warnings, most of which complain about
incompatibility of types. I was actually surprised that it was able
to compile.
Probably it did.This is a somewhat extreme case, as code that depends on the behavior of signed overflow is rare, but there's a lot of things that are perfectly well specified by the architecture, but that C leaves undefined.
This series (among many other places on the internet) does a good job explaining the problems http://blog.llvm.org/2011/05/what-every-c-programmer-should-...