Solved! Go to Solution.
FYI, I solved the problem in my batches by checking for the creation of err.log after the compiling of each source file.
See this example:
echo.
for /R %CSOURCES_PATH% %%c in (*.c) do (call "%COMPILER_PATH%\piper.exe" %COMPILER% "%%c" %COMPILER_OPTIONS%
IF %ERRORLEVEL% NEQ 0 goto error_label
IF EXIST %PROJECT_ROOT%\err.log goto compiler_fault
echo.
echo.
echo.)
Bye,
Matteo
FYI, I solved the problem in my batches by checking for the creation of err.log after the compiling of each source file.
See this example:
echo.
for /R %CSOURCES_PATH% %%c in (*.c) do (call "%COMPILER_PATH%\piper.exe" %COMPILER% "%%c" %COMPILER_OPTIONS%
IF %ERRORLEVEL% NEQ 0 goto error_label
IF EXIST %PROJECT_ROOT%\err.log goto compiler_fault
echo.
echo.
echo.)
Bye,
Matteo