Project

General

Profile

Bug #11100

liblddbg: NULL pointer errors

Added by Toomas Soome 5 months ago. Updated 4 months ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:

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

History

#1

Updated by Electric Monk 4 months ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit 5f5c35baa7f18214d2cd9ec105270892288f8497

commit  5f5c35baa7f18214d2cd9ec105270892288f8497
Author: Toomas Soome <tsoome@me.com>
Date:   2019-06-18T18:27:35.000Z

    11100 liblddbg: NULL pointer errors
    Reviewed by: Norm Jacobs <naj@snapcon.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF