We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When compiling with GFortran -std=f2018 options, access='append' is not accepted.
-std=f2018
access='append'
$ fpm build --flag "-Ofast -march=native -mtune=native -Wall -Wextra -std=f2018" ... colormaps_info.f90 failed. [ 39%] Compiling... build/dependencies/forcolormap/src/colormaps_info.f90:319:61: 319 | open(newunit=nunit, file=trim(file_name), access='append', status='unknown', action='write') | 1 Error: GNU Extension: ACCESS specifier in OPEN statement at (1) has value ‘APPEND’ build/dependencies/forcolormap/src/colormaps_info.f90:338:61: 338 | open(newunit=nunit, file=trim(file_name), access='append', status='unknown', action='write') | 1 Error: GNU Extension: ACCESS specifier in OPEN statement at (1) has value ‘APPEND’ ...
Indeed, access should be sequential (default), direct or stream. We should use instead the specifier position='append':
access
sequential
direct
stream
position='append'
open(newunit=nunit, file=trim(file_name), position='append', status='unknown', action='write')
The text was updated successfully, but these errors were encountered:
Fixes issue #36: position='append' instead of access='append'
c99c91f
No branches or pull requests
When compiling with GFortran
-std=f2018
options,access='append'
is not accepted.Indeed,
access
should besequential
(default),direct
orstream
. We should use instead the specifierposition='append'
:The text was updated successfully, but these errors were encountered: