Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2017 13:27:00 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        yuri@freebsd.org
Cc:        current <current@freebsd.org>
Subject:   Re: error: 'stddef.h' file not found on 12
Message-ID:  <702B111F-D650-4E34-9522-3F2E2FD19288@FreeBSD.org>
In-Reply-To: <c5488783-b379-0728-9fe0-873a18a7fe7d@freebsd.org>
References:  <c5488783-b379-0728-9fe0-873a18a7fe7d@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_2FC573A3-B0D2-4FE5-BB2B-781C7CBA2479
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

On 17 Nov 2017, at 06:11, Yuri <yuri@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


--Apple-Mail=_2FC573A3-B0D2-4FE5-BB2B-781C7CBA2479
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWhAnFAAKCRCwXqMKLiCW
o6TPAKD7sTC7efIbljwDuV+wI2IOg14/HQCgtKBIejT7m+OpOlE+vTIVWTvngk8=
=odoW
-----END PGP SIGNATURE-----

--Apple-Mail=_2FC573A3-B0D2-4FE5-BB2B-781C7CBA2479--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?702B111F-D650-4E34-9522-3F2E2FD19288>