diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-04-15 08:02:52 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-04-15 08:02:52 +0000 |
commit | d712f9fd7ba2c39e7346706ebb975a3a1755238f (patch) | |
tree | 2207f7dcf7178cf659d73a31591e38096571be64 | |
parent | c811f681031e96271c6784ff68d56b0cc5429e81 (diff) |
Added description of problem with single apostrophes in Fortran comments
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2115 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r-- | doc/FAQ | 30 |
1 files changed, 28 insertions, 2 deletions
@@ -1,7 +1,7 @@ Cactus Code Frequently Asked Questions -$Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/doc/FAQ,v 1.15 2001-03-01 00:00:49 allen Exp $ +$Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/doc/FAQ,v 1.16 2001-04-15 08:02:52 allen Exp $ Also available at http://www.cactuscode.org/Documentation/FAQ @@ -199,4 +199,30 @@ Also available at http://www.cactuscode.org/Documentation/FAQ won't need to be changed if they use the CCI routines. ------------------------------------------------------------------------------- - + +16. When I compile Cactus I get an error like + + + /home/allen/Cactus/arrangements/MineStuff/Test/src/metric.F90:3: + unterminated character constant + make[2]: *** [metric.F90.d] Error 33 + + + But then when I type gmake again the compilation proceeds without problem? + + You are probably using Linux, and the C preprocessor is complaining + about single apostrophes in a Fortran comment line when it is creating the + dependency file for metric.F90. Make continues the second time because + the dependency file now exists (although it won't necessarily contain + the right information). + + We could remove this problem by removing comments from Fortran files + before using the C preprocessor, but we don't want to add this overhead + at the moment, since we are writing a Cactus preprocessor which won't + have this problem (and will solve a number of other preprocessing + problems). You should try and remove any single apostrophes in + Fortran comments for now, or use gmake twice. + +------------------------------------------------------------------------------- + +
\ No newline at end of file |