C Build - make error 1 - still exited 0

It is hard to explain, but I will try.

C build is started and ends with an error (typing error), but it shows "Process exited with code 0".

I accidently typed 'git diff' in the code, instead of a terminal window. Now the problem is that the build succeeded while it should have failed, because it cannot build. How can I solve this particular situation? Here is a codesnap from the build messages.

System-1 :: erp :: Develop > #1.206.0-alpha544 (25 Apr 17 09:25) > Build Log — TeamCity

[09:26:41][Step 3/7] /export/teamcity/BuildAgent/work/6a45d9ca29ad4693/src/base/base_mbn.c: In function ‘select_menu_lijst’:
[09:26:41][Step 3/7] /export/teamcity/BuildAgent/work/6a45d9ca29ad4693/src/base/base_mbn.c:10851:6: error: unknown type name ‘git’
[09:26:41][Step 3/7] }git diff
[09:26:41][Step 3/7] ^
[09:26:41][Step 3/7] /export/teamcity/BuildAgent/work/6a45d9ca29ad4693/src/base/base_mbn.c:10853:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vdu_Popwin’
[09:26:41][Step 3/7] vdu_Popwin();
[09:26:41][Step 3/7] ^
[09:26:41][Step 3/7] make[2]: Leaving directory `/export/teamcity/BuildAgent/work/6a45d9ca29ad4693/src/base'
[09:26:41][Step 3/7] make[1]: Leaving directory `/export/teamcity/BuildAgent/work/6a45d9ca29ad4693/src/base'
[09:26:41][Step 3/7] make[2]: *** [/export/teamcity/BuildAgent/work/6a45d9ca29ad4693/src/../build/output/base_mbn] Error 1
[09:26:41][Step 3/7] make[1]: *** [install] Error 2
[09:26:41][Step 3/7] make: *** [install] Error 1
[09:26:41][Step 3/7] Process exited with code 0

 

 

0

Please sign in to leave a comment.