常见linux下编程导致的错误提示。

process1.c:11:3: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]

请确认调用printf函数的文件引用了头文件 #include <stdio.h>


process1.c:25:3: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]

请确认调用printf函数的文件引用了头文件 #include <stdlib.h>



你可能感兴趣的:(linux,function,include,warning)