Topic : "build failed" *still* is not a useful response...

Forum : ARM

Original Post
Post Information Post
May 6, 2008 - 7:22pm
Guest

Building C:\download\odu\ODU\main.c
Running : GCC
\"C:\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -MD -D_STR912FW44_ -D_STR9x_ -D_STR91x_ -mcpu=arm966e-s "C:\download\odu\ODU\main.c" -o "C:\download\odu\ODU\main.o" -I "C:\download\odu\ODU" -I "C:\download\odu\ODU\include" -I "C:\Ride\Lib\ARM\include" -c -fsigned-char -g -O2 -fno-inline -ffunction-sections -Wall -mlittle-endian
C:\download\odu\ODU\main.c: In function 'pa_list':
C:\download\odu\ODU\main.c:8489: warning: suggest parentheses around && within ||
C:\download\odu\ODU\main.c: In function 'ieh_record_decoder':
C:\download\odu\ODU\main.c:15292: warning: suggest parentheses around + or - inside shift

Build failed

// Why did build fail, with just a couple of warnings???

Replies
Post Information Post
+1
0
-1
May 9, 2008 - 12:28pm
Guest

Hi

It is strange to have a fialure because of warnings.

Still, may i ask you what happens when you correct the warnings
Also what happens if you take of the warnings by puting the value "No" in the option "All construction warnings" from" GCC compiler" options.

Matloub

+1
0
-1
June 5, 2008 - 10:11pm
Guest

Oops... okay, I have to admit, I stopped monitoring for responses to this, and my other previous email, after a couple of days... and I got responses 3-4 days later!! I apologize for not being more persistent. In the meantime, I've gotten my project building from command line, using yagarto distribution of GnuArm. So I'll just continue with that (I'm more used to command-line tools anyway).

+1
0
-1
July 11, 2008 - 8:36am
Guest

I had the same problem. I turn off debug option in GCC properties and the problem was dissapeared .