>-----Original Message----- >From: Georg-Johann Lay [mailto:a...@gjlay.de] >Sent: Saturday, June 18, 2011 2:26 AM >To: Boyapati, Anitha >Cc: Weddington, Eric; avr-gcc-list@nongnu.org >Subject: Re: [avr-gcc-list] AVR GDB testsuite > >Boyapati, Anitha schrieb: >> >> Aah..I am already running into strange issues. Looks like these days GNU >tools are waging a war against me :-( >> >> Now simulavr is complaining... >> >> if gcc -DHAVE_CONFIG_H -I. -I../../src -I. -Wall -Winline -Werror - >I../../src/getopt -g -O2 -MT adc.o -MD -MP -MF ".deps/adc.Tpo" -c -o adc.o >../../src/adc.c; \ >> then mv -f ".deps/adc.Tpo" ".deps/adc.Po"; else rm -f >".deps/adc.Tpo"; exit 1; fi >> : warnings being treated as errors >> ../../src/adc.c: In function 'adc_intr_cb': >> ../../src/adc.c:270: error: cast from pointer to integer of different >size > >Perhaps -Werror is too hard. Is there int in the source and you are >compiling on 64-bit platform?
I just went ahead and removed -Werror. Then the build went smooth. Yes, I am using 64-bit GNU linux. > Or that kind of stuff simulavr isn't >prepared for? > I haven't analyzed much. Most likely it should be because x86_64 platform stuff. Anitha _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list