News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Watch returns "Attempt to use a type name as an expression"

Started by DrCrlsn, November 07, 2016, 08:32:01 PM

Previous topic - Next topic

DrCrlsn

A watch created for variable tm when debugging the Fortran77 code below returns "Attempt to use a type name as an expression." See attached screenshot.  I am running CB 16.01, gdb 7.11.1, and gfortran 5.4.0 under ubuntu 16.04.

I would appreciate anyone else testing for this error.  If confirmed, I will submit bug report.

Thanks.


      program main
      real tm
      tm = 1
      stop
      end

DrCrlsn

I get the same result for the following bare bones F95 program.


program main
integer tm
end

DrCrlsn