On Thu, 2009-05-28 at 07:44 +0800, Xiaofan Chen wrote: > On Wed, May 27, 2009 at 8:26 PM, Zach Welch <[email protected]> wrote: > > On Tue, 2009-05-26 at 18:19 +0900, unsik Kim wrote: > >> Change function prefix to "mg_" > > > > Committed, r1927. > > One of these patches caused the build error under gcc 4.4 for Arch Linux. > I could not build the latest trunk. > > libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. > -I../../src/helper -I../../src/jtag -I../../src/target -g -O2 -Wall > -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter > -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -MT > mflash.lo -MD -MP -MF .deps/mflash.Tpo -c mflash.c -fPIC -DPIC -o > .libs/mflash.o > cc1: warnings being treated as errors > mflash.c: In function ‘mg_set_pll’: > mflash.c:1129: error: dereferencing type-punned pointer will break > strict-aliasing rules > make[3]: *** [mflash.lo] Error 1
Fix committed, r1935. --Z _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
