error: 'stddef.h' file not found on 12

Dimitry Andric dim at FreeBSD.org
Sat Nov 18 12:34:44 UTC 2017


On 17 Nov 2017, at 06:11, Yuri <yuri at freebsd.org> wrote:
> 
> I am getting net-im/ricochet failures on 12:
> 
> /usr/include/c++/v1/cstddef:44:15: fatal error: 'stddef.h' file not found
> #include_next <stddef.h>
>              ^~~~~~~~~~
> 
> cstddef is including stddef.h that has to be present.
> 
> 11 has both of them:
> 
> # ls /usr/include/c++/v1/*stddef*
> /usr/include/c++/v1/cstddef  /usr/include/c++/v1/stddef.h
> 
> why isn't it present in 12?

Remove -isystem /usr/include from your compilation flags, and try again.
This is something ridiculous that Qt ports tend to do, for reasons
unknown.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20171118/334c0e63/attachment.sig>


More information about the freebsd-current mailing list