Re: [fpc-pascal] fpc: -vm switch

2012-11-19 Thread Bart
On 11/19/12, Tomas Hajny wrote: >> 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 Thanks Tom and others for clarifying. Bart _

Re: [fpc-pascal] fpc: -vm switch

2012-11-19 Thread Bart
On 11/19/12, Tomas Hajny wrote: >> Am I missing something? > > Yes, the last line. ;-) I'm feeling rather stupid right now... Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpc: -vm switch

2012-11-19 Thread Tomas Hajny
On Mon, November 19, 2012 16:43, Mark Morgan Lloyd wrote: > Jonas Maebe wrote: > >> To find out the message number of a particular message, compile with >> -vq. And you can only suppress warnings/notes/hints with that switch. > > Noting somebody's recent comment about using -Xs- when building the >

Re: [fpc-pascal] fpc: -vm switch

2012-11-19 Thread Mark Morgan Lloyd
Jonas Maebe wrote: To find out the message number of a particular message, compile with -vq. And you can only suppress warnings/notes/hints with that switch. Noting somebody's recent comment about using -Xs- when building the compiler, that looks like another useful thing that people building

Re: [fpc-pascal] fpc: -vm switch

2012-11-19 Thread Tomas Hajny
On Mon, November 19, 2012 13:54, Bart wrote: > On 11/18/12, Jonas Maebe 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. ;-)

Re: [fpc-pascal] fpc: -vm switch

2012-11-19 Thread Jonas Maebe
On 19 Nov 2012, at 13:54, Bart wrote: Am I missing something? fpc -h gives (formatted the layout a little bit): -v Be verbose. 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:

Re: [fpc-pascal] fpc: -vm switch

2012-11-19 Thread Bart
On 11/18/12, Jonas Maebe 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? fpc -h gives (formatted the layout a little bit): -v Be verbose. is a combina

Re: [fpc-pascal] fpc: -vm switch

2012-11-18 Thread Jonas Maebe
On 18 Nov 2012, at 23:19, Bart wrote: > Related to http://bugs.freepascal.org/view.php?id=23347 > > 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) > In related bug http://bugs.freepascal.org/vi