>> Seperate patch? Does this have anything to do with fixing warnings? >> >> - counter = FLUSH_COUNT_FLASH; >> + counter = FLUSH_COUNT_READ_WRITE; >> > > nothing to do with warnings, but it doesn't really affect anything, > since both constants are defined to the same value (i'm was > experimenting with them some time ago)
Fixing warnings should be in a separate patch really.l >>> do you have any clue about what i'm doing wrong? >> >> What warnings you get depend on what compiler you're using. >> >> try >> >> CFLAGS="-O3 -g" configure xxxxxx >> > > i do not get the warnings. > i've been reading a bit, and those warnings should only appear if > -Wcast-align is set. > i tried > ./configure --enable-mantainer-mode --enable-ft2232-libftdi > CFLAGS="-O3 -g -Wcast-align" > but still no warnings... > what flags are you using? I don't know precisely why some target compilers have more than others. nios2-elf-gcc gives genuine warnings that I would have liked to see from x86 as well. Gcc versions? Something in the target definition defaults? -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/ _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
