Preprocessor concatenation

Alberto Luaces aluaces@udc.es
Mon Feb 8 22:52:00 GMT 2016


Hello,

is there any way of writing a concatenation macro when using the
preprocessor?  It only works with the "traditional" style

#define paste(x,y) x/**/y

but I wanted it to work with ## in order to be compatible with other
compilers.

Thank you.

-- 
Alberto



More information about the Fortran mailing list