RTEMS | Eliminate Old Style Prototypes to Compile Cleanly with GCC 15 (#5275)
Joel Sherrill (@joel)
gitlab at rtems.org
Thu Jun 19 19:23:59 UTC 2025
Joel Sherrill created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5275
## Summary
The following warnings of this type are present with sparc/leon3. This issue is to address all of the ones found.
```
testsuites/benchmarks/dhrystone/dhry_2.c:32:6: warning: old-style function definition [-Wold-style-definition]
testsuites/benchmarks/dhrystone/dhry_2.c:66:6: warning: old-style function definition [-Wold-style-definition]
testsuites/benchmarks/dhrystone/dhry_2.c:86:6: warning: old-style function definition [-Wold-style-definition]
testsuites/benchmarks/dhrystone/dhry_2.c:111:13: warning: old-style function definition [-Wold-style-definition]
testsuites/benchmarks/dhrystone/dhry_2.c:137:9: warning: old-style function definition [-Wold-style-definition]
testsuites/benchmarks/dhrystone/dhry_2.c:179:9: warning: old-style function definition [-Wold-style-definition]
testsuites/benchmarks/dhrystone/dhry_1.c:297:6: warning: old-style function definition [-Wold-style-definition]
testsuites/benchmarks/dhrystone/dhry_1.c:331:6: warning: old-style function definition [-Wold-style-definition]
testsuites/benchmarks/dhrystone/dhry_1.c:354:6: warning: old-style function definition [-Wold-style-definition]
testsuites/sptests/sp06/task2.c:44:12: warning: old-style function definition [-Wold-style-definition]
```
## Steps to reproduce
Build with GCC 15.
### Pre-set options
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5275
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250619/9e249092/attachment.htm>
More information about the bugs
mailing list