Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-01

Reducing output when building bigide?

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bo Berglund

Whenever I build Lazarus 1.6RC1 bigide, using the terminal command make bigide, there is a lot of seemingly unneeded screen output in the form of hints regarding "Sender" not being used and such. Is there any way to block this from being printed to screen? A parameter for make or something similar.
Especially when I use a script to install fpc and lazarus it seems like overkill to print all of that info.

Bo Berglund Developer in Sweden

Reply by email

Mark Morgan Lloyd
to Bo Berglund
Bo Berglund wrote 7 lines
Whenever I build Lazarus 1.6RC1 bigide, using the terminal command make bigide, there is a lot of seemingly unneeded screen output in the form of hints regarding "Sender" not being used and such. Is there any way to block this from being printed to screen? A parameter for make or something similar. Especially when I use a script to install fpc and lazarus it seems like overkill to print all of that info.

I'd suggest that it would be very bad practice to suppress warning messages from trunk or an RC build. Apart from that you might be able to do something by by putting one of the -v variants into the OPT shell variable when running the make... I've not tried it.

One thing which would be useful at the Lazarus level would be suppression of blank lines emitted by the linker. The FPC team insists that this is not their problem, even when the linker has been invoked automatically by the compiler.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Bo Berglund
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote
Bo Berglund wrote: > Whenever I build Lazarus 1.6RC1 bigide, using the terminal command > make bigide, there is a lot of seemingly unneeded screen output in the > form of hints regarding "Sender" not being used and such.

...

I'd suggest that it would be very bad practice to suppress warning messages from trunk or an RC build.

...

Show quoted text 6 lines
One thing which would be useful at the Lazarus level would be suppression of blank lines emitted by the linker. The FPC team insists that this is not their problem, even when the linker has been invoked automatically by the compiler.

OK, thanks.
It is really just an annoyance seeing these repeated warnings about unused variables flutter through on the screen while waiting for the make to finish. Since it is a make command with repeated executions there is really nothing one can do about it and due to the speed and limited size of the terminal buffer you are unlikely to ever be able to check them afterwards in any case...

And those blank lines you mention, which just create black screens now and then seem totally superfluous.
Anyway, no functional problem, just an annoyance.
Wanted to check if there was a switch like "quiet" or similar to make.

Bo Berglund Developer in Sweden

Reply by email

Mattias Gaertner
to Bo Berglund: Whenever I build Lazarus 1.6RC1 bigide, using the terminal command make bigide, there is…
Show quoted text 7 lines
Whenever I build Lazarus 1.6RC1 bigide, using the terminal command make bigide, there is a lot of seemingly unneeded screen output in the form of hints regarding "Sender" not being used and such. Is there any way to block this from being printed to screen? A parameter for make or something similar. Especially when I use a script to install fpc and lazarus it seems like overkill to print all of that info.

The hints are needed for the Lazarus developers.
If you only want to compile and install Lazarus you can safely ignore this particular hint using -vm5024 or hide all hints using -vh-.

make all OPT=-vh-

Mattias

Reply by email