11426 stmfproxy: NULL pointer errors

Review Request #2144 - Created July 11, 2019 and submitted

Information
Toomas Soome
illumos-gate
11426
bb8e505...
Reviewers
general
In file included from /code/illumos-gate/proto/root_i386/usr/include/iso/stdlib_iso.h:50:0,
                 from /code/illumos-gate/proto/root_i386/usr/include/stdlib.h:37,
                 from aluaadm.c:26:
/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)
              ^
aluaadm.c:75:27: note: in expansion of macro 'NULL'
  {NULL, 0, NULL, NULL, 0, NULL, 0, NULL, NULL}
                           ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'subcommands[3].operand')
 #define NULL ((void *)0)
              ^
aluaadm.c:75:27: note: in expansion of macro 'NULL'
  {NULL, 0, NULL, NULL, 0, NULL, 0, NULL, NULL}
                           ^~~~
/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)
              ^
aluaadm.c:75:42: note: in expansion of macro 'NULL'
  {NULL, 0, NULL, NULL, 0, NULL, 0, NULL, NULL}
                                          ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'subcommands[3].reserved[0]')
 #define NULL ((void *)0)
              ^
aluaadm.c:75:42: note: in expansion of macro 'NULL'
  {NULL, 0, NULL, NULL, 0, NULL, 0, NULL, NULL}
                                          ^~~~
cc1: all warnings being treated as errors

  

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Andy Fiddaman
Toomas Soome
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...