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:06:37 +0000 (15:06 -0500)
commit030ea321c2b386d11d3b7145b1f327e32297f230
treee769269025940217c463bafaa203cef8452dfc3f
parenta50f74e482c2cb9eba4a8ba49d132a831cc994a0
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.027001 seconds and 5 git commands to generate.