If my current code has something like
open(newfile= …) (which I understand is not supported yet in latest PG compiler, please correct if I am wrong)
I know that in C I can use the ‘ifdef’ preprocessor macros to handle choice of compiler (& using -D options in a Makefile). I understand I could likely do the same with Preprocessor option.
Is that basically the best way to handle code for soon to be supported features? I’m basically rewriting a lot of code to Fortran 2008 standard.
-Kevin