Actually wondering why these errors do not occur on Linux, but AIX only: /tools/haubi/buildbot/toolsbase-2015/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/src/cairo-surface-observer.c:657: error: conflicting types for 'sync' /usr/include/unistd.h:842: error: previous declaration of 'sync' was here /tools/haubi/buildbot/toolsbase-2015/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/src/cairo-surface-observer.c: In function 'sync': /tools/haubi/buildbot/toolsbase-2015/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/src/cairo-surface-observer.c:665: warning: ignoring return value of '_cairo_surface_unmap_image', declared with attribute warn_unused_result Makefile:2334: recipe for target 'cairo-surface-observer.lo' failed /tools/haubi/buildbot/toolsbase-2015/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/src/cairo-xlib-surface-shm.c:457: error: conflicting types for 'sync' /usr/include/unistd.h:842: error: previous declaration of 'sync' was here Makefile:2334: recipe for target 'cairo-xlib-surface-shm.lo' failed make[3]: *** [cairo-xlib-surface-shm.lo] Error 1
Created attachment 113845 [details] [review] rename fuction 'sync' to something else On AIX, <math.h> somehow includes <unistd.h> which declares sync() already. Thanks!
Thanks, applied: 70cc8f2..ac75ab9 master -> master
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.