Re: git: 19728f31ae42 - main - sys/_types.h: Unbreak gcc build
- In reply to: Nuno Teixeira : "Re: git: 19728f31ae42 - main - sys/_types.h: Unbreak gcc build"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Nov 2025 10:38:50 UTC
Nuno Teixeira <eduardo@freebsd.org> writes:
> I'm at main-n282229-687ab0dc54a9: Fri Nov 28 and gcc build still fails:
>
> /usr/include/sys/_types.h:164:46: error: missing binary operator before token "("
> 164 | #if !defined(__has_feature) || !__has_feature(capabilities)
> | ^
> gmake[3]: *** [Makefile:501: _trampoline.o] Error 1
I know, and I don't understand why...
what's really weird is this:
$ x86_64-unknown-freebsd14.3-gcc13 -E sys/sys/_types.h >/dev/null
sys/sys/_types.h:164:46: error: missing binary operator before token "("
164 | #if !defined(__has_feature) || !__has_feature(capabilities)
| ^
as expected, but
$ x86_64-unknown-freebsd14.3-gcc13 -E sys/sys/_types.h | less +Gq
no error!
anyway, see https://reviews.freebsd.org/D53986
DES
--
Dag-Erling Smørgrav - des@FreeBSD.org