Re: [bug #61226] A regression prevents generation of missing included dependency files.

2021-10-25 Thread Edward Welbourne
Dmitry Goncharov (17 October 2021 18:33) wrote: > i think, make should not print a warning when a .d file is missing. make > should proceed and create the missing file. However, when .d is present, but > make cannot include it, then make should print an error and stop. Given that I always

Re: [PATCH] Fix type errors in win32.

2021-10-25 Thread Eli Zaretskii
> From: U2FsdGVkX1 > Date: Mon, 25 Oct 2021 10:55:03 +0800 > Cc: U2FsdGVkX1 > > * src/commands.c (fatal_error_signal): DWORD type should be unsigned > * src/dir.c (print_dir_data_base): Fix format type mismatch > * src/function.c (windows32_openpipe): Use the WINAPI GetStdHandle function >

Re: [bug #61226] A regression prevents generation of missing included dependency files.

2021-10-25 Thread Dmitry Goncharov via Bug reports and discussion for GNU make
On Mon, Oct 25, 2021 at 6:12 AM Edward Welbourne wrote: > Surely that would solve your problem, without invasive surgery in GNU > make, or special-case handling of .d files anywhere but your make file ? Actually, my makefiles do not suffer from this. i use the technique described here

Re: [bug #61226] A regression prevents generation of missing included dependency files.

2021-10-25 Thread Paul Smith
On Mon, 2021-10-25 at 10:11 +, Edward Welbourne wrote: > Dmitry Goncharov (17 October 2021 18:33) wrote: > > i think, make should not print a warning when a .d file is missing. > > make should proceed and create the missing file. However, when .d > > is present, but make cannot include it,

Re: [bug #61226] A regression prevents generation of missing included dependency files.

2021-10-25 Thread Dmitry Goncharov via Bug reports and discussion for GNU make
On Sun, Oct 17, 2021 at 11:17 PM Britton Kerin wrote: > I got that but it sounds like the proposal is for it to do one thing > if the file is a .d and otherwise something else? The proposal is to see if the recipe is empty. There is this statement in the manual "If a rule has no prerequisites

Re: -V, --verbose, as opposite of -s, --silent, --quiet

2021-10-25 Thread Alejandro Colomar (man-pages)
Hello Paul, Dmitry, and David! > On Sat, Oct 23, 2021 at 6:06 AM Paul Smith > wrote: > > On Sat, 2021-10-23 at 03:01 +0200, Alejandro Colomar (man-pages) wrote: > > I'd like a project to use '--silent' by default, to have readable > > output, and hide most

Re: [bug #61226] A regression prevents generation of missing included dependency files.

2021-10-25 Thread Dmitry Goncharov via Bug reports and discussion for GNU make
On Monday, October 25, 2021, Alejandro Colomar (man-pages) < alx.manpa...@gmail.com> wrote: > However, there's a downside to this: The payment for this robustness is a > non-negligible time cost. The single-process time for a no-op make is > around 10 s > > 10s is about 100 to 1000 times

Re: -V, --verbose, as opposite of -s, --silent, --quiet

2021-10-25 Thread Paul Smith
On Mon, 2021-10-25 at 22:28 +0200, Alejandro Colomar (man-pages) wrote: > Since I use '--warn-undefined-variables', and also to help > readability to someone who may not know about this usage and may > wonder what does that $(V) mean, I used the following: > > V := > $(V).SILENT: Looks good.

Re: [bug #61226] A regression prevents generation of missing included dependency files.

2021-10-25 Thread Alejandro Colomar (man-pages)
Hi all, Regarding the generation of .d files, I may be a bit paranoid, but I like to regenerate them unconditionally at the beginning of every make invocation. I wouldn't trust on .d from my last build, since they may be outdated. Why do I do this? Because, if you remove a file from your

Re: -V, --verbose, as opposite of -s, --silent, --quiet

2021-10-25 Thread Alejandro Colomar (man-pages)
Hi Paul! On 10/25/21 10:32 PM, Paul Smith wrote: On Mon, 2021-10-25 at 22:28 +0200, Alejandro Colomar (man-pages) wrote: Since I use '--warn-undefined-variables', and also to help readability to someone who may not know about this usage and may wonder what does that $(V) mean, I used the

Re: [bug #61226] A regression prevents generation of missing included dependency files.

2021-10-25 Thread Dmitry Goncharov via Bug reports and discussion for GNU make
On Monday, October 25, 2021, Alejandro Colomar (man-pages) < alx.manpa...@gmail.com> wrote: > > > Why do I do this? Because, if you remove a file from your tree, an old .d > file will require that file and make your build fail, requiring you to > clean before making again. > > This has been

Re: [bug #61226] A regression prevents generation of missing included dependency files.

2021-10-25 Thread Paul Smith
On Mon, 2021-10-25 at 17:51 -0400, Dmitry Goncharov via Bug reports and discussion for GNU make wrote: > On Monday, October 25, 2021, Alejandro Colomar (man-pages) < > alx.manpa...@gmail.com> wrote: > > Why do I do this? Because, if you remove a file from your tree, an > > old .d file will