[hwloc-devel] hwloc_distances_add conflicting declaration

2018-09-30 Thread Marco Atzeri
Trying to build 2.0.2 on cygwin 64 bit. CC diff.lo CC shmem.lo /cygdrive/d/cyg_pub/devel/hwloc/hwloc-2.0.2-1.x86_64/src/hwloc-2.0.2/hwloc/distances.c:347:5: error: conflicting types for ‘hwloc_distances_add’ int hwloc_distances_add(hwloc_topology_t topology,

Re: [hwloc-devel] hwloc_distances_add conflicting declaration

2018-09-30 Thread Samuel Thibault
Marco Atzeri, le dim. 30 sept. 2018 20:02:59 +0200, a ecrit: > also adding a HWLOC_DECLSPEC on the first case distances.c:347 > does not solve the issue as the two declaration are not the same. > > Suggestion ? Perhaps use hwloc_uint64_t instead of uint64_t in hwloc/distances.c? Samuel