[Patch,Fortran,committed] Update download address of coco
Tobias Burnus
burnus@net-b.de
Wed Sep 1 17:01:00 GMT 2010
Committed as obvious. The address change was announced at
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/408b5807538f0e6b
though the old address is currently still valid.
[Background: COCO (or conditional compilation) is a preprocessor
similarly to CPP, which has been defined as Part 3 of the Fortran
standard (ISO/IEC 1539-3:1999). Despite being an ISO standard, no (?)
compiler vendor has implemented a preprocessor and COCO is widely
unknown and almost no one uses it - thus, it might be withdrawn in the
future. Dan has written a COCO preprocessor (in Fortran), which is
freely available.]
Tobias
PS: Another not so much used standard is Part 2, which defines varying
length character strings; there exist implementations (written in
Fortran) for it, it has some limited usage, but also is threatened to be
withdrawn.
For Part 1 there is no official replacement, but CPP ("FPP") is widely
used; for Part 2, Fortran 2003 provides allocatable character lengths
(deferred type parameter) and (re)allocate on assignment which is a more
natural replacement.
Let's see what Fortran 2013 will provide - maybe some template/macro
programming, which partially replaces CPP?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commit.diff
Type: text/x-patch
Size: 1003 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100901/7c98a34a/attachment.bin>
More information about the Gcc-patches
mailing list