RE: Question WHY is gnu make does not stop on error on rule

2022-12-08 Thread Cook, Malcolm
> On Thu, 2022-12-08 at 19:59 +0100, aotto wrote: > > HA HA HA - I fund the bug !! > > > > I used "-silent" and not "--silent", the "-silent" is parsed as > > That's funny, but I'm not sure why it works differently in 4.4 since that was > still the case in 4.3, if you use "-silent". > > > MqC.mq.

Re: Question WHY is gnu make does not stop on error on rule

2022-12-08 Thread aotto
On 08.12.22 20:21, Paul Smith wrote: On Thu, 2022-12-08 at 19:59 +0100, aotto wrote: HA HA HA - I fund the bug !! I used "-silent" and not "--silent", the "-silent" is parsed as That's funny, but I'm not sure why it works differently in 4.4 since that was still the case in 4.3, if you use "-si

Re: Question WHY is gnu make does not stop on error on rule

2022-12-08 Thread Paul Smith
On Thu, 2022-12-08 at 19:59 +0100, aotto wrote: > HA HA HA - I fund the bug !! > > I used "-silent" and not "--silent", the "-silent" is parsed as That's funny, but I'm not sure why it works differently in 4.4 since that was still the case in 4.3, if you use "-silent". > MqC.mq.$(MAKE_LNG): | Mq

Re: Question WHY is gnu make does not stop on error on rule

2022-12-08 Thread aotto
HA HA HA - I fund the bug !! I used "-silent" and not "--silent", the "-silent" is parsed as -s, --silent, --quiet    aktiviert den stillen Modus, in dem die ausgeführten Befehle nicht ausgegeben werden. -i, --ignore-errors    ignoriert alle von den Befehlen zur Neuerstellung

Re: Question WHY is gnu make does not stop on error on rule

2022-12-08 Thread aotto
On 08.12.22 18:25, Kaz Kylheku wrote: On 2022-12-08 09:00, aotto wrote: I found the reason, it was the "-silent" switch. -s, --silent, --quiet    Silent operation; do not print the commands as they are executed. but in reality the "-silent" switch even disable the "fail-on-error

Re: Question WHY is gnu make does not stop on error on rule

2022-12-08 Thread Paul Smith
On Thu, 2022-12-08 at 09:25 -0800, Kaz Kylheku wrote: > > but in reality the "-silent" switch even disable the "fail-on- > > error" feature > > Rathern, I suspect yuo have something in the Makefile > which inspects the flags (MAKEFLAGS variable), and produces different > behavior. Agreed. It's d

Re: Question WHY is gnu make does not stop on error on rule

2022-12-08 Thread Kaz Kylheku
On 2022-12-08 09:00, aotto wrote: > I found the reason, it was the "-silent" switch. > > -s, --silent, --quiet >    Silent operation; do not print the commands as they are executed. > > but in reality the "-silent" switch even disable the "fail-on-error" feature Rathern, I suspect

Re: Question WHY is gnu make does not stop on error on rule

2022-12-08 Thread aotto
On 08.12.22 14:49, Paul Smith wrote: On Thu, 2022-12-08 at 11:18 +0100, aotto wrote: Problem: the "$(c_Meta)" failed with error but MAKE continue… why?? Make uses the exit code of the process to determine whether the command should be considered to have succeeded (exits with 0) or failed (exi

Re: Question WHY is gnu make does not stop on error on rule

2022-12-08 Thread Paul Smith
On Thu, 2022-12-08 at 11:18 +0100, aotto wrote: > Problem: the "$(c_Meta)" failed with error but MAKE continue… why?? Make uses the exit code of the process to determine whether the command should be considered to have succeeded (exits with 0) or failed (exits with any code other than 0). > $(csm