On Sun, Nov 6, 2016 at 2:01 PM, Jens Bauer <[email protected]> wrote:
> 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).
>
>
This seems to be a bug in configure.ac. The following patch should fix it
so CFLAGS can be overridden on configure or make command line.
http://openocd.zylin.com/3870
/Andreas
------------------------------------------------------------------------------
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