Project

General

Profile

Actions

Bug #11100

closed

liblddbg: NULL pointer errors

Added by Toomas Soome over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2019-05-31
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

NULL pointer errors:

    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

Actions

Also available in: Atom PDF