Actions
Bug #11343
closedfwflash: NULL pointer errors
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Description
Build errors with NULL pointers:
In file included from /code/illumos-gate/proto/root_i386/usr/include/iso/time_iso.h:49:0, from /code/illumos-gate/proto/root_i386/usr/include/time.h:40, from /code/illumos-gate/proto/root_i386/usr/include/sys/time.h:462, from /code/illumos-gate/proto/root_i386/usr/include/sys/select.h:53, from /code/illumos-gate/proto/root_i386/usr/include/sys/types.h:640, from /code/illumos-gate/proto/root_i386/usr/include/sys/nvpair.h:29, from /code/illumos-gate/proto/root_i386/usr/include/libnvpair.h:29, from ../common/ses.c:30: /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/ses.c:121:4: note: in expansion of macro 'NULL' { NULL, NULL } ^~~~ /code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: note: (near initialization for 'sam4_status[7].status') #define NULL ((void *)0) ^ ../common/ses.c:121:4: note: in expansion of macro 'NULL' { NULL, NULL } ^~~~ cc1: all warnings being treated as errors
Actions