[fpc-pascal] fpc: -vm switch
Tomas Hajny
XHajT03 at hajny.biz
Mon Nov 19 14:07:11 CET 2012
On Mon, November 19, 2012 13:54, Bart wrote:
> On 11/18/12, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>
>>> Using fpc 2.6.0
>>> Does 2.6.0 handle -vm switch, and how is it used?
>>
>> As it is described on the fpc help page (fpc -h, or fpc without any
>> parameters)
>
> Am I missing something?
Yes, the last line. ;-)
> fpc -h gives (formatted the layout a little bit):
>
> -v<x> Be verbose. <x> is a combination of the following letters:
> e : Show errors (default)
> 0 : Show nothing (except errors)
> w : Show warnings
> u : Show unit info
> n : Show notes
> t : Show tried/used files
> h : Show hints
> c : Show conditionals
> i : Show general info
> d : Show debug info
> l : Show linenumbers
> r : Rhide/GCC compatibility mode
> s : Show time stamps
> q : Show message numbers
> a : Show everything
> x : Executable info (Win32 only)
> b : Write file names messages
> p : Write tree.log with parse tree with full path
> v : Write fpcdebug.txt with lots of debugging info
>
> I don't see "m" in this list.
I do:
---
-v<x> Be verbose. <x> is a combination of the following letters:
e : Show errors (default) 0 : Show nothing (except errors)
w : Show warnings u : Show unit info
n : Show notes t : Show tried/used files
h : Show hints c : Show conditionals
i : Show general info d : Show debug info
l : Show linenumbers r : Rhide/GCC compatibility mode
s : Show time stamps q : Show message numbers
a : Show everything x : Executable info (Win32 only)
b : Write file names messages p : Write tree.log with parse tree
with full path v : Write fpcdebug.txt with
lots of debugging info
m<x>,<y> : Don't show messages numbered <x> and <y>
===
> Adding any charcater/number after -vm gives an errormessage here
> (still with 2.6.0).
> Can you give me a working example?
test.pas:
---
var
C: cardinal;
begin
C := 1;
WriteLn (-1 + C);
end.
===
fpc -vwh test.pas
fpc -vwh -vm4035 test.pas
Tomas
More information about the fpc-pascal
mailing list