[ET Trac] #2566: check for -traditional in FPP's behaviour
Anonymous
trac-noreply at einsteintoolkit.org
Tue Sep 7 20:20:58 CDT 2021
#2566: check for -traditional in FPP's behaviour
Reporter:
Status: new
Milestone:
Version: development version
Type: enhancement
Priority: major
Component:
Cactus passes Fortran code (at least with extensions .F77 .F and .F90) through the C preprocessor in FPP passing FPPFLAGS.
This cpp must use traditional (pre-ANSI) behaviour, ie be string and not token based to preserve whitespace in Fortran fixed format code and handle concatenation using `FOO/**/BAR` correctly.
Getting this wrong by setting eg only FPP in an option list results in strange error messages.
Cactus' configure should check that FPP and FPPFLAGS behave as expected. Eg by processing:
```
TRAD/**/ITIONAL
```
which produces:
```
TRADITIONAL
```
with `--traditional` and
```
TRAD ITIONAL
```
without, so one can `grep` for the expected string.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2566/check-for-traditional-in-fpps-behaviour
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20210908/f6e2f8e8/attachment.html
More information about the Trac
mailing list