glib-2.36.3 build fails with gcc46

Andriy Gapon avg at FreeBSD.org
Sat Aug 3 13:34:08 UTC 2013


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.
-- 
Andriy Gapon


More information about the freebsd-gnome mailing list