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
F132344496: D34802.id104920.diff
Thu, Oct 16, 2:25 AM
Unknown Object (File)
Mon, Oct 13, 8:14 AM
Unknown Object (File)
Sun, Oct 12, 3:11 PM
Unknown Object (File)
Sat, Oct 11, 5:51 PM
Unknown Object (File)
Sat, Oct 11, 5:51 PM
Unknown Object (File)
Sat, Oct 11, 5:51 PM
Unknown Object (File)
Sat, Oct 11, 9:10 AM
Unknown Object (File)
Thu, Oct 9, 5:25 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.