当使用pFUnit(3.2.9)来测试我的Fortran代码,我得到很多的“非法预处理程序指令”的警告,如
Warning: Illegal preprocessor directive
/path/to/my/file/test.f90:37:2:
#line 26 "/path/to/my/file/test.f90"
1
该代码编译并运行正常,所以我想关闭这些警告,同时还看到其他的编译器警告。 这gfortran编译器标志打开这个特定的警告了吗? 我与gfortran 7.3.1工作。