C Is Not a Low-level Language

@tyranids looks like you are using implicit interfaces, i.e. the routines are not in a module, are not contained, and they don’t have interface blocks. Then, when the compiler encounters a call, it doesn’t know that one of the dummy argument is intent(out) (remind that aliasing is fine as long as the arguments are not modified).