avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] warnings when building avrdude 6.0rc1 under CentOS 6.4


From: Galen Seitz
Subject: [avrdude-dev] warnings when building avrdude 6.0rc1 under CentOS 6.4
Date: Tue, 13 Aug 2013 18:05:59 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8

Hi,

While building avrdude 6.0rc1 under CentOS 6.4, I encountered the following warnings. Are these to be expected?

...
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/usr/local/etc\" -Wall -Wno-pointer-sign -g -O2 -MT libavrdude_a-avr.o -MD -MP -MF .deps/libavrdude_a-avr.Tpo -c -o lib avrdude_a-avr.o `test -f 'avr.c' || echo './'`avr.c
avr.c: In function 'avr_tpi_program_enable':
avr.c:131: warning: passing argument 2 of 'pgm->cmd_tpi' discards qualifiers from pointer target type avr.c:131: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
...
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/usr/local/etc\" -Wall -Wno-pointer-sign -g -O2 -MT libavrdude_a-fileio.o -MD -MP -MF .deps/libavrdude_afileio.Tpo -c -o libavrdude_a-fileio.o `test -f 'fileio.c' || echo './'`fileio.c
fileio.c: In function 'elf2b':
fileio.c:947: warning: 'elf_getshstrndx' is deprecated (declared at /usr/include/libelf.h:281) fileio.c:967: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
fileio.c:1027: warning: cast from pointer to integer of different size
fileio.c:1027: warning: format '%d' expects type 'int', but argument 5 has type 'size_t' fileio.c:1057: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
...
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/usr/local/etc\" -Wall -Wno-pointer-sign -g -O2 -MT libavrdude_a-jtag3.o -MD -MP -MF .deps/libavrdude_a-jtag3.Tpo -c -o libavrdude_a-jtag3.o `test -f 'jtag3.c' || echo './'`jtag3.c
jtag3.c: In function 'jtag3_initialize':
jtag3.c:850: warning: 'flashsize' may be used uninitialized in this function
...
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/usr/local/etc\" -Wall -Wno-pointer-sign -g -O2 -MT libavrdude_a-pickit2.o -MD -MP -MF .deps/libavrdude_a-pickit2.Tpo -c -o libavrdude_a-pickit2.o `test -f 'pickit2.c' || echo './'`pickit2.c
pickit2.c: In function 'usb_open_device':
pickit2.c:1170: warning: cast from pointer to integer of different size
...


Configuration summary:
----------------------
DO HAVE    libelf
DO HAVE    libusb
DO HAVE    libusb_1_0
DO HAVE    libftdi
DON'T HAVE libftdi1
DON'T HAVE libhid
DO HAVE    pthread
DISABLED   doc
ENABLED    parport
DISABLED   linuxgpio


$ cat /etc/redhat-release
CentOS release 6.4 (Final)

$ rpm -q gcc
gcc-4.4.7-3.el6.x86_64

$ rpm -q elfutils-libelf
elfutils-libelf-0.152-1.el6.x86_64

$ rpm -q libusb
libusb-0.1.12-23.el6.x86_64


thanks,
galen
--
Galen Seitz
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]