Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

error #8238

Colin_W_2
Beginner
731 Views

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 '

0 Kudos
1 Reply
Steven_L_Intel1
Employee
731 Views
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.
0 Kudos
Reply