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? Or that kind of stuff simulavr isn't prepared for?
Johann
The above error comes from sources checked out from trunk of simulavr project. (Is 0.1.2.6 the best version I could get?) Anitha
_______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list