Re: comment and IBM xlf
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Sep 2006 18:04:39 +0000 (UTC)
Markus Franke <Markus-Franke@xxxxxx> wrote:
I have Fortran 90 code and want to include a file (config.h) with
C-style comments, like /* */. When I try compile the file with IBM XLF
10.1 Compiler I get the following error messages:
I am pretty sure that the C preprocessor processes C comments, so it
seems that the compiler is looking at it before passing it to cpp.
You might try running cpp separately, and then sending the output
to XLF. I don't know if Fortran continuation lines will survive cpp,
though.
Try man cpp on a unix system.
-- glen
.
- Follow-Ups:
- Re: comment and IBM xlf
- From: Dave Seaman
- Re: comment and IBM xlf
- References:
- comment and IBM xlf
- From: Markus Franke
- comment and IBM xlf
- Prev by Date: Re: Question on multiple compiler environment
- Next by Date: Re: Was this a bug
- Previous by thread: Re: comment and IBM xlf
- Next by thread: Re: comment and IBM xlf
- Index(es):
Relevant Pages
|
|