In the end, it was the flash library the offending one.
Code, does not rot, true. But developing environment, compilers and even language structurer do change overtime, some codes do become deprecated and there is a thing called backward compatibility...
FWIW: I was trying with the example shipped with Agentuino library.