Page MenuHomeFreeBSD

Remove checks for __CC_SUPPORTS__INLINE assuming it is always true.
ClosedPublic

Authored by jhb on Apr 6 2022, 2:26 PM.
Tags
None
Referenced Files
F107284443: D34802.diff
Sat, Jan 11, 11:32 PM
Unknown Object (File)
Sat, Dec 21, 4:01 PM
Unknown Object (File)
Thu, Dec 19, 7:14 AM
Unknown Object (File)
Mon, Dec 16, 4:56 PM
Unknown Object (File)
Fri, Dec 13, 5:56 PM
Unknown Object (File)
Dec 11 2024, 12:30 PM
Unknown Object (File)
Dec 6 2024, 1:04 AM
Unknown Object (File)
Nov 26 2024, 3:45 AM
Subscribers

Details

Summary

All supported compilers (modern versions of GCC and clang) support
this.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45027
Build 41915: arc lint + arc unit

Event Timeline

IIRC, this would prevent tcc from compiling the kernel.
However, there are a lot of other things preventing that today, so the change is fine.
There may be some userland programs left over from the days of yore for i386 that might also be affected by alternate compilers, but it's more something to be aware of than something we can do anything about.
We assume __inline is a thing almost everywhere, so it isn't really buying us much.

This revision is now accepted and ready to land.Apr 6 2022, 2:38 PM

We compile as for C99 so inline is supported and all modern compilers support __inline.