Thanks for your help Paul - this solution worked for me.

Steve

----- Original Message ----- 
From: "Paul D. Smith" <[EMAIL PROTECTED]>
To: "Steve Connell" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, April 16, 2004 3:29 PM
Subject: Re: Is error suppression possible for ignored errors?


> %% "Steve Connell" <[EMAIL PROTECTED]> writes:
>
>   sc> %.obj : ../%.c
>   sc>         -@ chmod -f +w $@
>
>   sc> Adding the "-" before the @ allowed gmake to continue, however now I
am
>   sc> getting an error message from gmake:
>
>   sc> gmake[1]: [hostio.obj] Error 1 (ignored)
>
>   sc> Is there a way to prevent this ignored error message from printing
out?
>
> Just run a different command that succeeds:
>
>  %.obj : ../%.c
>          @ chmod -f +w $@ || true
>
> -- 
> --------------------------------------------------------------------------
-----
>  Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
>  http://www.gnu.org                      http://make.paulandlesley.org
>  "Please remain calm...I may be mad, but I am a professional." --Mad
Scientist



_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to