mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
spec/build/cpukit/optwarncc.yml: Add -Wold-style-declaration
Newer C versions require that the storage-class specifier like static or _Thread_Local be the first thing in a declaration. Adding this warning to the default set to let us eliminate violations.
This commit is contained in:
@@ -14,6 +14,7 @@ default:
|
||||
- -Wimplicit-function-declaration
|
||||
- -Wstrict-prototypes
|
||||
- -Wnested-externs
|
||||
- -Wold-style-declaration
|
||||
description: |
|
||||
Warning flags passed to the C compiler
|
||||
enabled-by: true
|
||||
|
||||
Reference in New Issue
Block a user