Toomas Soome got a fish trophy!

11100 liblddbg: NULL pointer errors

Review Request #1881 - Created May 31, 2019 and submitted

Information
Toomas Soome
illumos-gate
11100
08689ff...
Reviewers
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 ../common/debug.c:29:
../common/debug.c: In function 'process_lmid':
/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)
              ^
../common/debug.c:330:13: note: in expansion of macro 'NULL'
   {NULL,    NULL},
             ^~~~
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:32:14: note: (near initialization for 'options_lmid[3].o_class')
 #define NULL ((void *)0)
              ^
../common/debug.c:330:13: note: in expansion of macro 'NULL'
   {NULL,    NULL},
             ^~~~
cc1: all warnings being treated as errors

  
Norm Jacobs
Toomas Soome
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...