Code::Blocks怎样自动识别Fortran源码格式?

本人菜鸟,在用Code::Blocks编译一个大型Fortran程序时遇到以下错误信息:
-------------- Build: Debug in BernLib (compiler: PGI Fortran Compiler)---------------

pgfortran.exe -g -module obj\Debug\ -c ..\LibBERN\FOR\AMBCHN.f -o obj\Debug\LibBERN\FOR\AMBCHN.o
pgfortran.exe -g -module obj\Debug\ -c ..\LibBERN\FOR\AMBSET.f -o obj\Debug\LibBERN\FOR\AMBSET.o
pgfortran.exe -g -module obj\Debug\ -c ..\LibBERN\FOR\ARGLAT.f -o obj\Debug\LibBERN\FOR\ARGLAT.o
pgfortran.exe -g -module obj\Debug\ -c ..\LibBERN\FOR\BESTN.f -o obj\Debug\LibBERN\FOR\BESTN.o
pgfortran.exe -g -module obj\Debug\ -c ..\LibBERN\FOR\CCOR.f -o obj\Debug\LibBERN\FOR\CCOR.o
pgfortran.exe -g -module obj\Debug\ -c ..\LibBERN\FOR\CORDUP.f -o obj\Debug\LibBERN\FOR\CORDUP.o
pgfortran.exe -g -module obj\Debug\ -c ..\LibBERN\FOR\CURARC.f -o obj\Debug\LibBERN\FOR\CURARC.o
pgfortran.exe -g -module obj\Debug\ -c ..\LibBERN\FOR\D_COMJPL.f90 -o obj\Debug\LibBERN\FOR\D_COMJPL.o
PGF90-S-0021-Label field of continuation line is not blank (..\LibBERN\FOR\D_COMJPL.f90: 38)
PGF90-S-0021-Label field of continuation line is not blank (..\LibBERN\FOR\D_COMJPL.f90: 43)
PGF90-S-0044-Multiple declaration for symbol ksize (..\LibBERN\FOR\D_COMJPL.f90: 45)
PGF90-S-0044-Multiple declaration for symbol irecsz (..\LibBERN\FOR\D_COMJPL.f90: 45)
PGF90-S-0021-Label field of continuation line is not blank (..\LibBERN\FOR\D_COMJPL.f90: 48)
PGF90-S-0044-Multiple declaration for symbol jplnam (..\LibBERN\FOR\D_COMJPL.f90: 46)
PGF90-W-0024-CHARACTER or Hollerith constant truncated to fit data type (..\LibBERN\FOR\D_COMJPL.f90: 46)
0 inform, 1 warnings, 6 severes, 0 fatal for d_comjpl
Process terminated with status 2 (0 minute(s), 2 second(s))
6 error(s), 1 warning(s) (0 minute(s), 2 second(s))

程序中既有固定格式源文件,也有自由格式源文件。在编译固定格式源程序的时候没有问题,但是编译自由格式的时候就出问题了。现在基本可以确定是因为编译器把自由格式的源程序当做是固定格式的来编译。
不知道怎么样设置Code::Blocks根据源程序后缀名自动识别固定格式还是自由格式?请各位大神赐教。

把文件后缀改为.f90既可