Re: comment and IBM xlf
- From: "Fly Away" <victor.prosolin@xxxxxxxxx>
- Date: 28 Sep 2006 11:58:20 -0700
I don't think it's going to work even if you find a way to run cpp
before compilation. My undersdanding (with regard to Fortran) is that
essentially, all cpp does is adding or removing peices of code (written
in Fortran) based on what instructions you give to it. So even if you
run it on your code, it won't remove all c-style comments - that's just
not what it does.
I see three options for you:
1. add ! to /*comments*/ using a utility like sed.
2. Use libgetkw. I've just come accross it, so I am not sure how it
works, but it seems to do what you need.
http://jonas.iki.fi/index.php#libgetkw
3. Remove or comment the c-style comments in the fortran way.
Victor.
.
- Follow-Ups:
- Re: comment and IBM xlf
- From: glen herrmannsfeldt
- Re: comment and IBM xlf
- References:
- comment and IBM xlf
- From: Markus Franke
- comment and IBM xlf
- Prev by Date: Re: Was this a bug
- Next by Date: Re: Stack size, and warnings
- Previous by thread: Re: comment and IBM xlf
- Next by thread: Re: comment and IBM xlf
- Index(es):
Relevant Pages
|