Most of issues discovered by gcc 6.2.0 are:
warning: implicit declaration of function '...'
which make sense since this functions was never declared,
espesially functions provided by ROM.
In the last case, correct usage of this functions was never
checked by compiler.