Boost logo

Boost-Build :

From: Ilya Sokolov (fal_delivery_at_[hidden])
Date: 2006-12-08 12:24:55

David Abrahams wrote:
> Misha Bergal <mbergal_at_[hidden]> writes:
>>>Well, although I applied this patch, it doesn't seem to work at all.
>>>I added an ECHO after the errorlevel test and it got executed despite
>>>the fatal link error. Can you come up with a patch that works?
>>Hmm, I don't see this on my system. Are sure that it gets _executed_, not just displayed.
> All I can say is that I was seeing FATAL LINK ERROR messages but no
> instances of "...failed" (which marks all failures detected by bjam)
> in the output. Have you tested the patch and verified that it does
> what you expect?
David, did you see post from Prashant Thakre?

>Could you please try
>IF %ERRORLEVEL% NEQ 0 ... instead of
>if errorlevel 1 ...

this is from win help:

if errorlevel number
Specifies a true condition only if the previous program run by Cmd.exe
returned an exit code equal to or greater than number.

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at