11129 libtnfprobe: NULL pointer errors

Review Request #1913 — Created June 1, 2019 and submitted

tsoome
illumos-gate
11129
5302a83...
general
In file included from /code/illumos-gate/proto/root_i386/usr/include/iso/stdio_iso.h:53:0,
                 from /code/illumos-gate/proto/root_i386/usr/include/stdio.h:82,
                 from ../trace_init.c:40:
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:32:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../trace_init.c:79:2: note: in expansion of macro 'NULL'
  NULL
  ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:32:14: note: (near initialization for '__tnfw_b_control_local.tnf_pid')
 #define NULL ((void *)0)
              ^
../trace_init.c:79:2: note: in expansion of macro 'NULL'
  NULL
  ^~~~
cc1: all warnings being treated as errors


jlevon
  1. Ship It!
  2. 
      
wiedi
  1. Ship It!
  2. 
      
tsoome
tsoome
Review request changed

Status: Closed (submitted)

Loading...