When I'm compiling a simple program like 'hello world', I'm getting a warning at printf
function.
Here is the error message:
hey.c:4:5: warning: implicit declaration of function 'puts' is invalid in C99
[-Wimplicit-function-declaration]
puts("Hello World!");
^
1 warning generated.
ld: can't write output file: a.out for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)