MinGW error "undefined reference to 'typeof''"

Posted by DSblizzard on Stack Overflow See other posts from Stack Overflow or by DSblizzard
Published on 2010-04-11T02:34:43Z Indexed on 2010/04/11 2:43 UTC
Read the original article Hit count: 313

Filed under:
|
|
|

Code:

#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>

int main() {
    typeof(5);
    return 0;
}

Version of gcc is 4.3.3, command line is "gcc.exe -std=c99 1.c -o 1.exe". What is the cause of this problem?

© Stack Overflow or respective owner

Related posts about gcc

Related posts about mingw