Re: how to get CVF not to compile when more than 132 characters on a line?
- From: "Kurt Kallblad" <kurt.kallblad@xxxxxxxx>
- Date: Tue, 4 Mar 2008 22:45:18 +0100
"dpb" <none@xxxxxxx> wrote in message news:fqjq7b$tei$1@xxxxxxxxxxx
louisrom1@xxxxxxxxx wrote:
I use .f90 files and I cannot change the extension
is there a way to limit to 132 characters?
Set Standard-checking to F95 and "Warn on source truncation"
In the IDE these are in Compilation Diagnostics under Project Settings...
For some reason the "Standard warning as error" didn't trigger a fatal
error, but did the warning on a test program. It appears exceeding the
132 column Standard line length didn't make the list of Standard
violations, but is checked against the line truncation.
So, didn't _stop_ compilation outright, but does provide a warning.
Halfway good enough? :)
--
The "Standard warning as error" does not seems to give any warning but
"Fortran Standard Checking" set to "Fortran 90" or Fortran 95" gives
an "Info" notation, at least with CVF 6.6.C which I think was the last
version before Intel took over.
The standard has since 66 mostly talked about requirements on the program,
not on the compilers. Thus compilers silent has truncated lines on most
platforms I have used, only shouted if the statement in some ways became
errornous when truncatred.
Kurt
.
- References:
- how to get CVF not to compile when more than 132 characters on a line?
- From: louisrom1
- Re: how to get CVF not to compile when more than 132 characters on a line?
- From: Luka Djigas
- Re: how to get CVF not to compile when more than 132 characters on a line?
- From: FX
- Re: how to get CVF not to compile when more than 132 characters on a line?
- From: louisrom1
- Re: how to get CVF not to compile when more than 132 characters on a line?
- From: dpb
- how to get CVF not to compile when more than 132 characters on a line?
- Prev by Date: Re: how to get CVF not to compile when more than 132 characters on a line?
- Next by Date: Re: Do different compilers produce different .mod files?
- Previous by thread: Re: how to get CVF not to compile when more than 132 characters on a line?
- Next by thread: Re: how to get CVF not to compile when more than 132 characters on a line?
- Index(es):
Relevant Pages
|
|