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

gfortran character declaration bug #4

Open
kwmsmith opened this issue Dec 10, 2010 · 0 comments
Open

gfortran character declaration bug #4

kwmsmith opened this issue Dec 10, 2010 · 0 comments

Comments

@kwmsmith
Copy link
Owner

For this declaration:

character(len=1, kind=kind('a')), dimension(63) :: fw_errstr__

Gfortran 4.2.3 on Mac OS X gives an error like this:

test_char_kind.f:2.37:

    character(len=1, kind=kind('a')), dimension(63) :: fw_errstr__    
                                  1
Error: Kind 69068 is not a CHARACTER kind at (1)

Which seems to be this bug:

http://www.mail-archive.com/[email protected]/msg201855.html

The workaround is to emit this code for the character declaration:

character(1), dimension(63) :: fw_errstr__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant