This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: man-page code doesn't compile with `-std=c99'
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: linux-mm at vger dot kernel dot org, gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Mon, 22 Aug 2016 13:27:26 +0100
- Subject: Re: man-page code doesn't compile with `-std=c99'
- Authentication-results: sourceware.org; auth=none
- References: <20160822121204.GA30221@Ubuntu-HP>
On 22 August 2016 at 13:12, Yubin Ruan wrote:
> The man page doesn't mention standard issue about these S_IF* flags. Is it a man
> page issue or a gcc issue ?
It seems that you need _XOPEN_SOURCE >= 500 but it has nothing to do with GCC.
The example comes from the linux man pages project and the headers
come from glibc.