Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Aug 2013 17:24:12 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        gnome@FreeBSD.org
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: glib-2.36.3 build fails with gcc46
Message-ID:  <51FD128C.1060209@FreeBSD.org>
In-Reply-To: <51FD06A3.10201@FreeBSD.org>
References:  <51FD06A3.10201@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 03/08/2013 16:33 Andriy Gapon said the following:
> 
> glib-2.36.3 build fails with gcc46:
> 
> glib-unix.c: In function 'g_unix_open_pipe':
> glib-unix.c:97:5: error: implicit declaration of function 'pipe2'
> [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
> 
> I think that unistd.h must be included.

Sorry for the noise, this was a pilot error.  I use head, but keep forgetting
that once in a while lang/gcc* have to be rebuilt after changes in the system
headers (because those gccs install some "fixed" versions of them in
/usr/local/lib/gcc*/gcc/*/*/include-fixed/).


-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51FD128C.1060209>