SuccessChanges

Summary

  1. core: fix a #if vs #ifdef for constructor attribute support (details)
  2. core: -no-undefined is now supported on Windows (details)
  3. private/misc.h: use HWLOC_HAVE_ATTRIBUTE_UNUSED instead of __HWLOC_HAVE_ATTRIBUTE_UNUSED (details)
  4. cpukinds: don't duplicate an empty array of cpukinds (details)
Commit 9a03e30be1af9eee00055173cd36b8bb8087e45b by brice.goglin
core: fix a #if vs #ifdef for constructor attribute support

Unnoticed until now because these lines were added recently,
way after all compilers added support for this attribute...
until somebody tried autoconf with MSVC.

Thanks to Alexander Neumann for the report.

Closes #485

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology.c (diff)
Commit b83b36646d41d39d7c8d20609172db47a76c770e by brice.goglin
core: -no-undefined is now supported on Windows

And required by libtool.

Closes #486

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/Makefile.am (diff)
Commit 9bafca186b2ebdbddba9d565db3c7a9359589c41 by brice.goglin
private/misc.h: use HWLOC_HAVE_ATTRIBUTE_UNUSED instead of __HWLOC_HAVE_ATTRIBUTE_UNUSED

The latter is defined in public headers depending on whether private
headers are available or not.
The formet is the official internal thing.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedinclude/private/misc.h (diff)
Commit 58fa0dcf8f99e8856346edcc67fc1bd4d1c0777b by brice.goglin
cpukinds: don't duplicate an empty array of cpukinds

Fixes a segfault during dup() on AIX.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/memattrs.c (diff)
The file was modifiedhwloc/cpukinds.c (diff)