Hi Andreas, Freddie and Paul.

Sorry for the late reply (I've been building and building for the past few 
days, trying different approaches).

Thank you both for patching and updating OpenOCD; it seems the latest HEAD 
works with both ...
export CFLAGS=-Wno-override-init && ./configure ...
... and ...
CFLAGS=-Wno-override-init ./configure ...
...

The build now stops with this warning in ls1_sap.c:

/src/openocd/src/target/ls1_sap.c:130: warning: declaration of 'read' shadows a 
global declaration

... after renaming 'read' to 'aRead', OpenOCD builds.

(I still hadn't have time to get a new OpenID, so I'll have to ask someone else 
to rename 'read' to something else; I tested with both 'aRead' and 'read_flag' 
- none of those causes conflicts).

Both line 130 and line 141 needs to be changed.


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

Reply via email to