fix: msgpack requires limits.h for UINT_MAX
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 5 Aug 2021 20:49:26 +0000 (16:49 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 7 Mar 2022 20:07:07 +0000 (15:07 -0500)
commit37f989fd2365f69d1acd50469ab1295736ce36bb
tree96027d353089f974499c333047cd61c17fe103ba
parent76d24c0bd4ea3fe22981f00350f25ffa8e832c38
fix: msgpack requires limits.h for UINT_MAX

Building with '-Wundef' reveals this issue :

  unpack.c: In function ‘template_callback_array’:
  unpack.c:197:17: warning: "UINT_MAX" is not defined, evaluates to 0 [-Wundef]
    197 | #if SIZE_MAX == UINT_MAX
        |                 ^~~~~~~~
  unpack.c: In function ‘template_callback_map’:
  unpack.c:241:17: warning: "UINT_MAX" is not defined, evaluates to 0 [-Wundef]
    241 | #if SIZE_MAX == UINT_MAX
        |                 ^~~~~~~~

Change-Id: I7dadd9f7013d613509f66e67ff1beb8ae593d2bf
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/vendor/msgpack/lttng-config.h
This page took 0.024982 seconds and 4 git commands to generate.