Skip to content

!DEC$ attributes dllexport is not standard Fortran #70

Description

@zaikunzhang

Hi @jschueller Julien and @amontoison Alexis,

!DEC$ attributes dllexport is not standard Fortran.

For example, with 6e9b334 , running

cd fortran/examples/cobyla && make itest

we will get

../../common/debug.F90(38): warning #7025: This directive is not standard F2018.
!DEC$ attributes dllexport :: assert
------^
../../common/debug.F90(38): remark #7841: DLL IMPORT/EXPORT is not supported on this platform.   [DLLEXPORT]
!DEC$ attributes dllexport :: assert

How to fix this? Is there a standard-conforming way to do the same?

In general, PRIMA does not tolerate warnings --- each warning is considered a (future) bug. In addition, PRIMA uses only standard Fortran, conforming to F2008 as of September 2023.

Thanks.

Zaikun

Metadata

Metadata

Labels

fortranIssues related to the Fortran implementation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions