Project

General

Profile

Actions

Bug #13226

closed

strtol: 'NULL' undeclared

Added by Toomas Soome over 1 year ago. Updated over 1 year ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

While building stand on sparc:

    ../../../common/util/strtol.c: In function 'strtol':
    ../../../common/util/strtol.c:72:13: error: 'NULL' undeclared (first use in this function)
      if (ptr != NULL)
                 ^~~~
    ../../../common/util/strtol.c:72:13: note: each undeclared identifier is reported only once for each function it appears in

    ../../../common/util/strtoul.c:67:13: error: 'NULL' undeclared (first use in this function)
      if (ptr != NULL)
                 ^~~~
    ../../../common/util/strtoul.c:67:13: note: each undeclared identifier is reported only once for each function it appears in

    Current working directory /code/illumos-gate/usr/src/stand/lib/sa

The 13173 did miss sparc stand tree.


Related issues

Related to illumos gate - Feature #13173: loader: add strtoul, strtoull, memmem and abortClosedToomas Soome

Actions
Actions

Also available in: Atom PDF