Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
probro27 committed Dec 28, 2022
1 parent 7e346a6 commit 839cd3b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ This looks like a simple hello world program. Let's compile it using our favouri

```bash
Result: Code: 1, error/output:
hello.c:4:5: error: implicit declaration of function 'print' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
hello.c:4:5: error: implicit declaration of function 'print' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
print("Hello world!, %1f");
^
hello.c:4:5: note: did you mean 'printf'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:170:6: note: 'printf' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer
/SDKs/MacOSX.sdk/usr/include/stdio.h:170:6: note: 'printf' declared here
int printf(const char * __restrict, ...) __printflike(1, 2);
^
1 error generated.
Expand Down

0 comments on commit 839cd3b

Please sign in to comment.