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

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 18 Nov 2017 13:27:00 +0100
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


Received on Sat Nov 18 2017 - 11:34:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC