http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51828
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-11 21:05:01 UTC --- (In reply to comment #1) > I also see > ../../../work/libgfortran/caf/libcaf.h:80:6: warning: no previous prototype > for > '_gfortran_caf_critical' [-Wmissing-prototypes] > ../../../work/libgfortran/caf/libcaf.h:81:6: warning: no previous prototype > for > '_gfortran_caf_end_critical' [-Wmissing-prototypes] Ignore that one - _gfortran_caf_critical / _gfortran_caf_end_critical is the wrong approach for it. It should use internally type(lock_type) but that has not yet been implemented.