warning: implicit declaration of function 'kill'

前端 未结 2 1714
星月不相逢
星月不相逢 2021-02-13 12:32

I am making these inclusions:

#include 
#include 
#include 
#include 

But

2条回答
  •  礼貌的吻别
    2021-02-13 13:08

    You are probably passing the "-ansi -Wall" switches to the gcc compiler. You can remove "-ansi" if you don't need it, otherwise try to set the proper feature define macro.

    Something like:

    #define _POSIX_SOURCE
    #include 
    #include 
    #include 
    #include 
    

提交回复
热议问题