Project

General

Profile

Bug #11568

loader: pxe.c missing initializer

Added by Toomas Soome 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build error with warnings enabled:

    pxe.c:88:2: error: missing initializer for field 'dif_used' of 'struct netif_dif' [-Werror=missing-field-initializers]
      {0,  1,  &pxe_st[0], 0}
      ^
    In file included from pxe.c:44:0:
    ../../../../lib/libstand/netif.h:27:10: note: 'dif_used' declared here
      u_long  dif_used;
              ^~~~~~~~
    cc1: all warnings being treated as errors

History

#1

Updated by Toomas Soome 10 months ago

  • Subject changed from loader: pxe.c missing initializer to loader: pxe.c missing initializer
#2

Updated by Electric Monk 10 months ago

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

git commit 2052a1fb16201e50b4c3a91ebcbeeccbc8276644

commit  2052a1fb16201e50b4c3a91ebcbeeccbc8276644
Author: Toomas Soome <tsoome@me.com>
Date:   2019-08-18T21:06:37.000Z

    11568 loader: pxe.c missing initializer
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Rob Johnston <rob.johnston@joyent.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF