Whenever I try to run any program in either CMD or in the VS Code terminal, this happens. This line doesn't exist on my C source code either. Would anyone know how to fix this?
Note: The program I'm trying to run runs on my laptop, as well as my friend's computers.
EDIT: Thank you for your feedback!
Here are the include lines:
#include <stdio.h>#include <string.h>#include <stdlib.h> // Used to initiate random, srand, and system("cls")#include <time.h>// Used to define time to be used for random and srand
Then here are the errors that show up:
C:/msys64/mingw64/include/stdio.h:683:18: error: conflicting types for 'fread'; have 'size_t(const void * restrict, size_t, size_t, FILE * restrict)' {aka 'long long unsigned int(const void * restrict, long long unsigned int, long long unsigned int, struct _iobuf * restrict)'} 683 | size_t __cdecl fread(const void * __restrict__ _Str,size_t _Size,size_t _Count,FILE * __restrict__ _File); | ^~~~~C:/msys64/mingw64/include/stdio.h:637:18: note: previous declaration of 'fread' with type 'size_t(void * restrict, size_t, size_t, FILE * restrict)' {aka 'long long unsigned int(void * restrict, long long unsigned int, long long unsigned int, struct _iobuf * restrict)'} 637 | size_t __cdecl fread(void * __restrict__ _DstBuf,size_t _ElementSize,size_t _Count,FILE * __restrict__ _File);