tdm-gcc icon indicating copy to clipboard operation
tdm-gcc copied to clipboard

With C89 when including <time.h>

Open zenglinxing opened this issue 2 years ago • 0 comments

For any C source file including <time.h> like this

example.c

#include<time.h>
int main(int argc, char *argv[])
{
    return 0;
}

Compiling it via

gcc example.c -o example -std=c89

I will get 3 error messages that result from header file <time.h> and it looks like the errors appear in pthread_time.h

OS: Windows 7 64-bit Compiler: TDM-GCC 64bit, 10.3.0

zenglinxing avatar Apr 28 '22 04:04 zenglinxing