Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implicit interface not working with lfortran #1047

Closed
davidpfister opened this issue Jun 7, 2024 · 2 comments · Fixed by #1048
Closed

Implicit interface not working with lfortran #1047

davidpfister opened this issue Jun 7, 2024 · 2 comments · Fixed by #1048
Labels
bug Something isn't working

Comments

@davidpfister
Copy link
Contributor

Description

I have a code using implicit interfaces (.. yes, I know, but it can be handy), that I tried to compile with lfortran. For this, I use the options directly inside the toml

[fortran]
implicit-external = true

and I get the following message:

The following argument was not expected: --allow-implicit-interface

Looking at the command lines from lfortran it seems that the argument shoud be --implicit-interface

Expected Behaviour

This error should not appear.

Version of fpm

0.10.0 alpha

Platform and Architecture

Windows 10

Additional Information

No response

@davidpfister davidpfister added the bug Something isn't working label Jun 7, 2024
@awvwgk
Copy link
Member

awvwgk commented Jun 7, 2024

The option for LFortran is specified at

flag_lfortran_implicit_external = " --allow-implicit-interface", &

Feel free to sent a patch for updating this to the right option in LFortran.

@davidpfister
Copy link
Contributor Author

PR done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants