Folks,

I'm seeing these warnings on the mac os when building hwloc-2.0rc1 with clang:

----8<----
 CC       lstopo-lstopo.o
lstopo.c: In function 'usage':
lstopo.c:425:7: warning: "CAIRO_HAS_XLIB_SURFACE" is not defined, evaluates to 
0 [-Wundef]
#elif CAIRO_HAS_XLIB_SURFACE && (defined HWLOC_HAVE_X11_KEYSYM)
      ^~~~~~~~~~~~~~~~~~~~~~
lstopo.c: In function 'main':
lstopo.c:1041:5: warning: "CAIRO_HAS_XLIB_SURFACE" is not defined, evaluates to 
0 [-Wundef]
#if CAIRO_HAS_XLIB_SURFACE && defined HWLOC_HAVE_X11_KEYSYM
----8<----

----8<----
% clang --version
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
----8<----

Thanks,

 -- Pavan

_______________________________________________
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/hwloc-users

Reply via email to