cobol编译问题
使用cobc -x编译Cobol文件时报错
In file included from D:/x86_64-8.1.0-release-win32-seh-rt_v6-rev0/mingw64/x86_64-w64-mingw32/include/stddef.h:7,
from D:/x86_64-8.1.0-release-win32-seh-rt_v6-rev0/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/stddef.h:1,
from D:\GC312\include/stdio.h:69,
from C:\Users\ADMINI~1\AppData\Local\Temp\cob15496_0.c:8:
D:/x86_64-8.1.0-release-win32-seh-rt_v6-rev0/mingw64/x86_64-w64-mingw32/include/crtdefs.h:35:18: error: expected ';' before 'typede
'
__MINGW_EXTENSION typedef unsigned __int64 size_t;
^~~~~~~~
;
D:/x86_64-8.1.0-release-win32-seh-rt_v6-rev0/mingw64/x86_64-w64-mingw32/include/crtdefs.h:45:18: error: expected ';' before 'typede
'
__MINGW_EXTENSION typedef __int64 ssize_t;
^~~~~~~~
;
D:/x86_64-8.1.0-release-win32-seh-rt_v6-rev0/mingw64/x86_64-w64-mingw32/include/crtdefs.h:62:18: error: expected ';' before 'typede
'
__MINGW_EXTENSION typedef __int64 intptr_t;
^~~~~~~~
;
D:/x86_64-8.1.0-release-win32-seh-rt_v6-rev0/mingw64/x86_64-w64-mingw32/include/crtdefs.h:75:18: error: expected ';' before 'typede
'
__MINGW_EXTENSION typedef unsigned __int64 uintptr_t;
^~~~~~~~
;
D:/x86_64-8.1.0-release-win32-seh-rt_v6-rev0/mingw64/x86_64-w64-mingw32/include/crtdefs.h:88:18: error: expected ';' before 'typede
'
__MINGW_EXTENSION typedef __int64 ptrdiff_t;
^~~~~~~~
;
D:/x86_64-8.1.0-release-win32-seh-rt_v6-rev0/mingw64/x86_64-w64-mingw32/include/crtdefs.h:123:18: error: expected ';' before 'typedef'
__MINGW_EXTENSION typedef __int64 __time64_t;
^~~~~~~~
;
In file included from D:\GC312\include/stdio.h:94,
from C:\Users\ADMINI~1\AppData\Local\Temp\cob15496_0.c:8:
D:\GC312\include/sys/types.h:123:21: error: conflicting types for 'ssize_t'
typedef _ssize_t ssize_t;
^~~~~~~
In file included from D:/x86_64-8.1.0-release-win32-seh-rt_v6-rev0/mingw64/x86_64-w64-mingw32/include/stddef.h:7,
from D:/x86_64-8.1.0-release-win32-seh-rt_v6-rev0/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/stddef.h:1,
from D:\GC312\include/stdio.h:69,
from C:\Users\ADMINI~1\AppData\Local\Temp\cob15496_0.c:8:
D:/x86_64-8.1.0-release-win32-seh-rt_v6-rev0/mingw64/x86_64-w64-mingw32/include/crtdefs.h:45:35: note: previous declaration of 'ssize_t' was here
__MINGW_EXTENSION typedef __int64 ssize_t;
但c++和c编译是正常的,请问怎么解决