--- **[tickets:#469] Fix build with GCC 16.x** **Status:** new **Milestone:** 0.12.0 **Created:** Thu Apr 23, 2026 09:06 AM UTC by Stefan Becker **Last Updated:** Thu Apr 23, 2026 09:06 AM UTC **Owner:** nobody **Attachments:** - [0001-build-fix-build-with-GCC-16.x.patch](https://sourceforge.net/p/openocd/tickets/469/attachment/0001-build-fix-build-with-GCC-16.x.patch) (3.8 kB; text/x-patch) GCC 16.x has stricter settings, e.g. `strchr()` on `const char` buffer can only be assigned to `const char` pointer. Attached git patch with the fixes. Tested build on Fedora 44. --- Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
