Topic: Unexpected end of file in compile
I have a large INCLUDE file that has declarations for a lot of variables in COMMON, as well as parameter definitions. When I try to compile the main program, which has the statement
INCLUDE 'QJCommons.F90'
The compiler gives the error:
==============================================================================
Generating Makefile... Okay
==============================================================================
Compiling .\qjcommons.f90
f951.exe: Error: Unexpected end of file in '.\qjcommons.f90'
Error(E42): Last command making (build\qjcommons.o) returned a bad status
Error(E02): Make execution terminated
* Failed *
What can be causing this? The file has correct syntax (at least the editor is not complaining).