This is a Win32 program using Compiling with Intel(R) Visual Fortran Compiler 16.0 [Intel(R) 64]...
in a MSVS 2013. I just updated my compiler to Rel 2
In progGlobals MSVS 2013 defined:
Integer, parameter, public :: ID_RESTART = 30004
In prog I use:
select case ( IAND(wParam, 16#ffff ) )
case (ID_RESTART) ! <== Line 374
Compiling I get:
... Prog.f90(374): error #6601: In a CASE statement, the case-value must be a constant expression. [ID_RESTART]
I get 5 other errors that are just like this one. These are new to Rel 2.
I think the compiler got itself lost. By fixing some other errors, that one went away. I'm back debugging. Thanks much for the suggestion. I was lost and almost abandoned my programming for a while.
More likely there was an error in the .fd file from your resource file that didn't declare the value. IMPLICIT NONE helps.