#ifdef with gfortran 77

Posted by ccook on Stack Overflow See other posts from Stack Overflow or by ccook
Published on 2010-05-11T08:46:17Z Indexed on 2010/05/11 8:54 UTC
Read the original article Hit count: 315

I am using gfortran to compile FORTRAN 77 and would like to have DEBUG build options by using the preprocessor directive #ifdef. However, when I use them I get compile time warnings "Illegal preprocessor directive". Is it possible to have this functionality without deviating from the standard toolchain?

© Stack Overflow or respective owner

Related posts about fortran77

Related posts about ifdef