[CMake] 1 tricky question, 1 bug report

Brad King brad.king at kitware.com
Mon Mar 16 10:48:06 EDT 2009


Maik Beckmann wrote:
> I still didn't test whether  fixed format file can include a free format file, 
> or vise versa.  In this case having distinct lexers(and parsers?) is the only 
> reliable approach.

I just tried these cases and gcc chokes on both cases:

! main-free.f90
include 'fixed.f'

! main-fixed.f
	include 'free.f'

In either case gcc assumes the included file is the same format as the includer
and errors out if the file is really of the other format.

-Brad



More information about the CMake mailing list