Re: how to get CVF not to compile when more than 132 characters on a line?
- From: "David Jones" <dajxxxx@xxxxxxxxx>
- Date: Wed, 5 Mar 2008 10:32:17 -0000
dpb wrote:
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? :)
An alternative is to use
Tools>Options>Format>Source Windowto change settings for the VS editor so that it shows a different colour background for columns 133+. While not doing what was originally asked, it would help to avoid inadvertently going too far on a line.
David Jones
.
- Follow-Ups:
- 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: Do different compilers produce different .mod files?
- 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
|
|