C
CrazedNerd
Guest
I really don't have any idea what's going on, but for some reason GCC sends out errors even after you correct your c code:
This came after correcting and saving the file even though the program did what it was supposed to after the error message, and it didn't go away until i deleted the binary that runs the code. This has happened before, where i had to erase "a.out" in order to get it to compile and run without error messages. It's supposed to over-write the file but there's obviously something amiss here.
I don't have the latest gcc update and updating for some reason doesn't work. I'm not too worried about that because i'm going to reformat my desktop sometime soon, so i'm just seeing if anyone knows about this problem or if the linux command line tools team corrected this already...
Code:
vegas.c:23:37: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
23 | printf("In the vegas() function, a=%d\n,a");
| ~^
| |
| int
This came after correcting and saving the file even though the program did what it was supposed to after the error message, and it didn't go away until i deleted the binary that runs the code. This has happened before, where i had to erase "a.out" in order to get it to compile and run without error messages. It's supposed to over-write the file but there's obviously something amiss here.
I don't have the latest gcc update and updating for some reason doesn't work. I'm not too worried about that because i'm going to reformat my desktop sometime soon, so i'm just seeing if anyone knows about this problem or if the linux command line tools team corrected this already...