error #8238

error #8238

I am evaluating Fortran Composer 2013. Our code currently compiles and runs with composer 2011. However on 2013 I now see error #8238 on lines such as the following. The problem is the colon (:). Is this invalid Fortran?

character(:), parameter :: magic_chain_footer = ' bjaq_record_chain_to_file : '

character(:), parameter :: magic_header = ' bjaq PNET API capture file='

character(:), parameter :: magic_tag = ' tag '

character(:), parameter :: magic_blob = ' blob '

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

A colon here is not valid. You want an asterisk. A colon is allowed only to indicate a deferred length parameter for a POINTER or ALLOCATABLE character variable.

Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today