Project

General

Profile

Actions

Bug #8154

closed

cmd/dtrace test warning: implicit declaration of function waitpid

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2017-05-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

Building with gcc 6:

+ /usr/gcc/6/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -fdiagnostics-show-option -nodefaultlibs -D__sun -o pid/tst.gcc.exe pid/tst.gcc.c -Wl,-Bdirect -Wl,-M/code/illumos-gate/usr/src/common/mapfiles/common/map.noexstk -Wl,-M/code/illumos-gate/usr/src/common/mapfiles/common/map.pagealign -Wl,-M/code/illumos-gate/usr/src/common/mapfiles/common/map.noexdata -L/code/illumos-gate/proto/root_i386/lib -L/code/illumos-gate/proto/root_i386/usr/lib -lc 
pid/tst.gcc.c: In function 'go':
pid/tst.gcc.c:39:9: warning: implicit declaration of function 'waitpid' [-Wimplicit-function-declaration]
  (void) waitpid(pid, NULL, 0);
         ^~~~~~~
Actions #1

Updated by Electric Monk over 6 years ago

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

git commit 7038abe7532205428646f2442895374489b1c307

commit  7038abe7532205428646f2442895374489b1c307
Author: Toomas Soome <tsoome@me.com>
Date:   2017-05-06T19:04:47.000Z

    8154 cmd/dtrace test warning: implicit declaration of function waitpid
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Actions

Also available in: Atom PDF