spec/cpukit/optwarn: Add -Werror to the standard build flags

Now that RTEMS should be entirely warning free thanks largely to the
efforts of Joel, adding this flag should keep the codebase in a good
state for future compiler updates.

Closes #5317
This commit is contained in:
Kinsey Moore
2025-08-14 16:54:30 -05:00
committed by Joel Sherrill
parent baa281a40f
commit 3e160df4aa

View File

@@ -12,6 +12,7 @@ default:
- enabled-by: true
value:
- -Wall
- -Werror
description: |
Warning flags passed to the C and C++ compiler
enabled-by: true