comment and IBM xlf
- From: Markus Franke <Markus-Franke@xxxxxx>
- Date: Thu, 28 Sep 2006 10:50:51 +0200
Hello,
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:
---snip---
"../../config.h", line 1.0: 1515-005 (S) Continuation line is not permitted at beginning of program or after INCLUDE, EJECT, @PROCESS statements or comment directive. Line is ignored.
"../../config.h", line 2.0: 1515-005 (S) Continuation line is not permitted at beginning of program or after INCLUDE, EJECT, @PROCESS statements or comment directive. Line is ignored.
"../../config.h", line 4.0: 1515-005 (S) Continuation line is not permitted at beginning of program or after INCLUDE, EJECT, @PROCESS statements or comment directive. Line is ignored.
"../../config.h", line 5.0: 1515-005 (S) Continuation line is not permitted at beginning of program or after INCLUDE, EJECT, @PROCESS statements or comment directive. Line is ignored.
---snap---
These lines are all comment lines in "/* */" - style. I tried to use several different compiler options but nothing solved the problem.
Any suggestions?
Thanks for help,
Markus Franke
.
- Follow-Ups:
- Re: comment and IBM xlf
- From: Fly Away
- Re: comment and IBM xlf
- From: glen herrmannsfeldt
- Re: comment and IBM xlf
- From: simon
- Re: comment and IBM xlf
- From: Patrick Begou
- Re: comment and IBM xlf
- Prev by Date: Re: Apology to comp.lang.fortran
- Next by Date: Re: comment and IBM xlf
- Previous by thread: compile only one module file
- Next by thread: Re: comment and IBM xlf
- Index(es):