Project

General

Profile

Actions

Bug #8154

closed

cmd/dtrace test warning: implicit declaration of function waitpid

Added by Toomas Soome about 5 years ago. Updated about 5 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:

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

Also available in: Atom PDF