macro stringizer and concat with PG Fortran

Hi All,

Is it possible to use stringizer(#x) and concat (x##y) macro operators with pg fortran preprocessor? (note: pgf90 -Mpreprocess doesn’t give you this, maybe more elaborate options to turn these “features” on?)


thanks

Levent

Hi Levent,

Try with -Mcpp.

Hongyon

Thanks Hongyon! This works, but …

pgf90 -Mpreprocess -c file.f90' works differently than pgf90 -Mcpp -c file.f90’ in that former outputs the compiled object file, latter spits the preprocessed source code!

anyways, still better than using plain cpp.

thanks again,
Levent