[fpc-pascal] How to remove verbose compiler output

Tomas Hajny XHajT03 at hajny.biz
Sun Apr 6 00:39:20 CEST 2014


On Sat, April 5, 2014 21:13, Graeme Geldenhuys wrote:
> On 2014-04-05 17:00, Sven Barth wrote:
>>
>> Could you test by disabling the usage of a config file (-n)? You'll need
>> to pass all paths using -Fu then,
>
> No problem. Just did the test with -n and it made no difference when it
> comes to the -v parameter options. The -vh- , -vw- and -v0 parameters
> are all ignored. I still get the usual verbose output.
 .
 .

Graeme, can you please try if you get the same behaviour with simple
source files like the following:

-----------
var
 C: cardinal;
begin
 C := -1;
end.
===========

By default (i.e. with -n and no -v* whatsoever), this should not show
anything. With the default configuration file, it should show one hint (C
assigned but not used) and one warning (range check). With the
configuration file and -v0 it should not show anything again (apart from
the compiler version if you have the default of -l in your configuration
file). This is just to check if the behaviour depends on the compiled
sources in any way.

Tomas





More information about the fpc-pascal mailing list