Below is a trivial program with a simple error (executable statement occurring before a CONTAINS statement) that should prevent compilation.
MODULE m1
#ifdef A
i=1
#endif
END MODULE m1
If I compile using the following command, there is no error, which is appropriate since ifdef A is undefined:
FTN95 <filename>.f95 /CFPP
However, if I try using either of the following commands I get an error message:
FTN95 <filename>.f95 /CFPP /VPARAM A 0 FTN95 <filename>.f95 /CFPP /VPARAM A 1
It makes sense to me that the second command should generate an error, but why does the first one not work?