fixed all the warnings found by the new Intel compiler option -gen-interface -warn all