On Fri, 23 May 2014 10:03:53 +0000 Mike Hibbett mhibbett@ircona.com wrote:
Hi Stefan,
I'm using gcc 4.8.2, the distribution compiler on my Ubuntu 14.04 64 bit box.
Make CONFIG_DEDIPROG=yes gives:
cc -MMD -Os -Wall -Wshadow -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_INTERNAL=1' -D'CONFIG_INTERNAL_DMI=1' -D'CONFIG_SERPROG=1' -D'CONFIG_RAYER_SPI=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_NIC3COM=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_FT2232_SPI=1' -D'CONFIG_USBBLASTER_SPI=1' -D'HAVE_FT232H=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICREALTEK=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'CONFIG_DEDIPROG=1' -D'CONFIG_SATAMV=1' -D'CONFIG_LINUX_SPI=1' -D'NEED_PCI=1' -D'NEED_USB=1' -D'HAVE_UTSNAME=1' -D'FLASHROM_VERSION="0.9.7-r1791"' -o dediprog.o -c dediprog.c dediprog.c:761:2: error: initialization from incompatible pointer type [-Werror] .write_aai = dediprog_spi_write_aai, ^ dediprog.c:761:2: error: (near initialization for ‘spi_programmer_dediprog.write_aai’) [-Werror] cc1: all warnings being treated as errors
Thanks. That was a mistake I made in r1789 and should be fixed in r1797.