改变从MinGW的到的MinGW-W64后,我发现了以下错误:
In file included from C:/MinGW/i686-w64-mingw32/include/stddef.h:7:0,
from C:/MinGW/lib/gcc/i686-w64-mingw32/4.9.2/include/stddef.h:1,
from C:\MinGW\include/stdint.h:24,
from C:\MinGW\include/inttypes.h:7,
from C:\MinGW\include/GL/glew.h:299,
from ..\main.cpp:1:
C:/MinGW/i686-w64-mingw32/include/crtdefs.h:26:9: error: 'size_t' does not name a type
typedef size_t rsize_t;
^
In file included from C:/MinGW/lib/gcc/i686-w64-mingw32/4.9.2/include/stddef.h:1:0,
from C:\MinGW\include/stdint.h:24,
from C:\MinGW\include/inttypes.h:7,
from C:\MinGW\include/GL/glew.h:299,
from ..\main.cpp:1:
C:/MinGW/i686-w64-mingw32/include/stddef.h:20:3: error: 'errno_t' does not name a type
errno_t __cdecl _set_errno(int _Value);
^
C:/MinGW/i686-w64-mingw32/include/stddef.h:21:3: error: 'errno_t' does not name a type
errno_t __cdecl _get_errno(int *_Value);
^
C:/MinGW/i686-w64-mingw32/include/stddef.h:26:18: error: 'uintptr_t' does not name a type
_CRTIMP extern uintptr_t __cdecl __threadhandle(void);
^
任何人都可以向我解释这里发生了什么?