Separated from D43254
Details
Details
- Reviewers
emaste imp - Group Reviewers
Contributor Reviews (src) - Commits
- rG079d67b1d861: sys: Disable C standards prior to C99 from kernel build
make buildworld make buildkernel
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 56337 Build 53225: arc lint + arc unit
Event Timeline
sys/conf/kern.mk | ||
---|---|---|
285 | Oh wait a sec.... This changes c99 too... Is c99 now an alias on all supported compilers? I'm pretty sure it is, but wanted to double check. at least current versions of clang/gcc12 do... with gcc 12's reaction -std=c98 being the best: |
sys/conf/kern.mk | ||
---|---|---|
285 | I think gcc12+ and llvm15+ are the relevant (if not supported) compilers and they support c99 |
sys/conf/kern.mk | ||
---|---|---|
285 | gcc supports c99 since gcc 4.5 with -std=c99 (https://gcc.gnu.org/c99status.html) |
Comment Actions
I think this is ready now, so I'll land it.
I'm satisfied that old-school construct was for our old-school 4.2 gcc, which has aged out of support everywhere.