Project

General

Profile

Bug #11129

libtnfprobe: NULL pointer errors

Added by Toomas Soome almost 2 years ago. Updated over 1 year ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

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 ../trace_init.c:40:
    /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)
                  ^
    ../trace_init.c:79:2: note: in expansion of macro 'NULL'
      NULL
      ^~~~
    /code/illumos-gate/proto/root_i386/usr/include/sys/null.h:32:14: note: (near initialization for '__tnfw_b_control_local.tnf_pid')
     #define NULL ((void *)0)
                  ^
    ../trace_init.c:79:2: note: in expansion of macro 'NULL'
      NULL
      ^~~~
    cc1: all warnings being treated as errors

Also available in: Atom PDF