libpcap 프로그램 작성 후 gcc컴파일 하니
warning: incompatible implicit declaration of built-in function 'exit'
에러가 난다.

구글링 했더니
#include <stdlib.h> is by far the best solution.
If you really must disable the warning without fixing your code
try -fno-builtin-exit.

결국
#include <stdlib.h>
... 이런 어처구니...
반응형

'Programming > C' 카테고리의 다른 글

gcc 에러_as: unrecognized option `-Qy'  (0) 2011.05.09
C/C++ 함수모음  (0) 2011.05.09
Library 패스 잡기  (0) 2011.05.03
15.C언어_출력형식  (0) 2011.04.19
13.C언어_문자열 변수  (0) 2011.04.19

+ Recent posts