11147 libinetsvc: NULL pointer errrors

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

tsoome
illumos-gate
11147
56a7640...
general
In file included from /code/illumos-gate/proto/root_i386/usr/include/iso/string_iso.h:50:0,
                 from /code/illumos-gate/proto/root_i386/usr/include/string.h:33,
                 from ../common/inetsvc.c:37:
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:62:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[0].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:62:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:64:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[1].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:64:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:66:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[2].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:66:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:68:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[3].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:68:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:70:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[4].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:70:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:72:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[5].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:72:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:74:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[6].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:74:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:76:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[7].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:76:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:78:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[8].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:78:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:80:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[9].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:80:26: note: in expansion of macro 'NULL'
      B_FALSE, IVE_UNSET, NULL, B_FALSE},
                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:82:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[10].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:82:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:84:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[11].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:84:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:86:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[12].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:86:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:88:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[13].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:88:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:90:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[14].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:90:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:92:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[15].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:92:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:94:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[16].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:94:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:96:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[17].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:96:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:98:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[18].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:98:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:100:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[19].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:100:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:102:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[20].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:102:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:104:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[21].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:104:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:106:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'inetd_properties[22].ip_value.iv_int')
 #define NULL ((void *)0)
              ^
../common/inetsvc.c:106:25: note: in expansion of macro 'NULL'
      B_TRUE, IVE_UNSET, NULL, B_FALSE},
                         ^~~~
cc1: all warnings being treated as errors


andy_js
  1. Ship It!
  2. 
      
tsoome
tsoome
Review request changed

Status: Closed (submitted)

Loading...