[fpc-pascal] fpc: -vm switch
Jonas Maebe
jonas.maebe at elis.ugent.be
Mon Nov 19 14:06:09 CET 2012
On 19 Nov 2012, at 13:54, Bart wrote:
> Am I missing something?
>
> fpc -h gives (formatted the layout a little bit):
>
> -v<x> Be verbose. <x> is a combination of the following letters:
[snip]
> v : Write fpcdebug.txt with lots of debugging info
>
> I don't see "m" in this list.
It's just below that table:
-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?
$ fpc -vw x.pp y.pp
Warning: Only one source file supported, changing source file to
compile from "x.pp" into "y.pp"
Target OS: Darwin for PowerPC
Compiling y.pp
Fatal: Can't open file "y.pp"
Fatal: Compilation aborted
Error: /usr/local/bin/ppcppc returned an error exitcode (normal if you
did not specify a source file to be compiled)
-> remove the warning at the start:
$ fpc -vw x.pp y.pp -vm11001
Target OS: Darwin for PowerPC
Compiling y.pp
Fatal: Can't open file "y.pp"
Fatal: Compilation aborted
Error: /usr/local/bin/ppcppc returned an error exitcode (normal if you
did not specify a source file to be compiled)
To find out the message number of a particular message, compile with -
vq. And you can only suppress warnings/notes/hints with that switch.
Jonas
More information about the fpc-pascal
mailing list