Skip to content

Fix header guard definition in system_fs026.h which breaks builds with gcc 15+#440

Merged
fpoussin merged 1 commit intoChibiOS:chibios-21.11.xfrom
carlosedp:patch-1
Apr 8, 2026
Merged

Fix header guard definition in system_fs026.h which breaks builds with gcc 15+#440
fpoussin merged 1 commit intoChibiOS:chibios-21.11.xfrom
carlosedp:patch-1

Conversation

@carlosedp
Copy link
Copy Markdown
Contributor

This pull request corrects a preprocessor macro definition in the system_fs026.h header file to ensure the correct include guard is used.

  • Fixed the include guard macro from __SYSTEM_ES32F0283_H__ to __SYSTEM_FS026_H__ in system_fs026.h to prevent potential issues with recursive inclusion or incorrect header protection.

The -Werror=header-guard diagnostic (which promotes the mismatched #ifndef/#define guard to a hard error) was introduced/tightened in GCC 15. On GCC 14 the mismatch is silently ignored, on GCC 15 it becomes a build-breaking error.

@carlosedp
Copy link
Copy Markdown
Contributor Author

I don't think the error is related to my PR change as other PRs are failing the same way.

@fpoussin fpoussin merged commit b105884 into ChibiOS:chibios-21.11.x Apr 8, 2026
1 check failed
@fpoussin
Copy link
Copy Markdown
Member

fpoussin commented Apr 8, 2026

Thank you!

@carlosedp
Copy link
Copy Markdown
Contributor Author

Hi @fpoussin , any expected date to have this updated on QMK?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants