Discussion:
[OpenOCD-devel] GCC7 related problems
Freddie Chopin
2017-06-29 22:02:30 UTC
Permalink
Hello!

Today I tried building OpenOCD with GCC7 on ArchLinux. The build fails
because of numerous warnings caused by switch-case fallthroughs and
possible string truncations in snprintf() functions. I've pushed the
fixes to:
http://openocd.zylin.com/#/c/4174/
http://openocd.zylin.com/#/c/4175/

The problem is that with time more and more distros will switch to GCC7
and if we want people building OpenOCD _without_ "disable-werror" then
some steps are needed... We can either do a bugfix release (0.10.1)
with these two patches above (and possibly some more) or do a next
"full" release (0.11.0) pretty soon.

Regards,
FCh

Loading...