[Users] Mojave|Simfactory|Fortran(thorn): F90 compiler rejecting "_##" in var names

Roland Haas roland.haas at physics.gatech.edu
Fri Dec 20 00:28:40 CST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Scott,

> Since many thorns in Cactus have multi-line equations, I'm not
> sure if using the cpp.pl script is an option for me.---Have other
> people not reported this problem?
Uhm, I think I should have given a slightly different suggestion re
cpp. Please try "cpp --traditional" for FPP. The behaviour that you
observed (turning the comment into a space when using /**/ ) is the
ANSI C behaviour ( the standard requires this) while what we want is
what pre-ANSI compilers used to do (remove comments without trace).

a ## b

should be turned into

ab

as the ANSI standard requires that whitespace surrounding ## is
removed. Not sure why this does not happen, but FPP=cpp --traditional
should do the trick (and is in fact the setting that you will find in
simfactory's option lists, if not please report the file, it is a bug).

Yours,
Roland

- -- 
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://keys.gnupg.net.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlKz45gACgkQTiFSTN7SboXDngCfaN5A8y1OyNHyn1dv/HmT+W0A
vdcAn0/86+A7UeSnYbOI6589gSc7dSF1
=Lk+p
-----END PGP SIGNATURE-----


More information about the Users mailing list