Am 26.01.2023 um 09:15 schrieb Riccardo (Jack) Lucchetti:
On Thu, 26 Jan 2023, Marcin Błażejowski wrote:

Hi,

the solution was simpler that I thought: the problem was that print_NR_status() did verify 'set messages on/off' , but did not checked for 'set warnings on/off'. The patch in attachment.

Marcin,

of course in this case this is not a problem, because the patch is quite small and one can easily see what's going on, but generally speaking you may want to add the -w flag to "diff" (or "git diff") to suppress lines where changes only involve whitespace.

OTOH this (gretl_bfgs.c) is a good example where in git there's a mix of tabs and blanks (presumably stemming from emacs), and we said we want to get rid of the tabs (not only in these few affected lines, of course).

cheers

sven