Hi Andreas. On Sat, 5 Nov 2016 16:42:59 +0100, Andreas Fritiofson wrote: >>>> /src/openocd/src/helper/jep106.c:28: warning: initialized field overwritten >>>> /src/openocd/src/helper/jep106.c:28: warning: (near initialization for >>>> 'jep106[8]') >> I'll try and apply -Wno-override-init and build again. >> it might take a few days before I can put up a patch for this. > > I don't think we need a patch for that, just add -Wno-override-init > to your CFLAGS if you have an affected GCC version.
I've tried ... export CFLAGS=-Wno-override-init && ./configure ... ... which causes the configure script to say that the C-compiler doesn't work, I've also tried ... ./configure CFLAGS=-Wno-override-init ... ... and ... make CFLAGS=-Wno-override-init ... but all of them fail. The last one seems to be the 'best working', but jimtcl fails (can't find include files). What's the recommended approach ? > I'd rather not maintain quirks for different compiler versions within OpenOCD. I understand. Love Jens ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
