------- Comment #3 from burnus at gcc dot gnu dot org 2009-08-05 08:00 ------- Regarding gfc_copy_attr: The following program should print on x86-64(-linux) the warnings: warning: 'dllexport' attribute directive ignored warning: 'stdcall' attribute directive ignored
abstract interface subroutine tpl() !GCC$ ATTRIBUTES STDCALL :: tpl end subroutine tpl end interface procedure(tpl) :: foo !GCC$ ATTRIBUTES DLLEXPORT :: foo call foo() end -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40955