/ Vijos /

记录详情

Compile Error

foo.c:1:1: error: unknown type name 'C'
 C Code
 ^
In file included from C:/TDM-GCC-32/include/stdio.h:26:0,
                 from foo.c:3:
C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/stddef.h:212:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
 typedef __SIZE_TYPE__ size_t;
 ^
In file included from foo.c:3:0:
C:/TDM-GCC-32/include/stdio.h:191:65: error: unknown type name 'size_t'
 _CRTIMP int __cdecl __MINGW_NOTHROW setvbuf (FILE*, char*, int, size_t);
                                                                 ^
C:/TDM-GCC-32/include/stdio.h:207:54: error: unknown type name 'size_t'
 extern int __mingw_stdio_redirect__(snprintf)(char*, size_t, const char*, ...);
                                                      ^
C:/TDM-GCC-32/include/stdio.h:211:55: error: unknown type name 'size_t'
 extern int __mingw_stdio_redirect__(vsnprintf)(char*, size_t, const char*, __VALIST);
                                                       ^
C:/TDM-GCC-32/include/stdio.h:319:55: error: unknown type name 'size_t'
 _CRTIMP int __cdecl __MINGW_NOTHROW _snprintf (char*, size_t, const char*, ...);
                                                       ^
C:/TDM-GCC-32/include/stdio.h:320:56: error: unknown type name 'size_t'
 _CRTIMP int __cdecl __MINGW_NOTHROW _vsnprintf (char*, size_t, const char*, __VALIST);
                                                        ^
C:/TDM-GCC-32/include/stdio.h:331:47: error: unknown type name 'size_t'
 int __cdecl __MINGW_NOTHROW snprintf (char *, size_t, const char *, ...);
                                               ^
C:/TDM-GCC-32/include/stdio.h:332:48: error: unknown type name 'size_t'
 int __cdecl __MINGW_NOTHROW vsnprintf (char *, size_t, const char *, __VALIST);
                                                ^
C:/TDM-GCC-32/include/stdio.h:412:40: error: expected ',' or ';' before 'fread'
 _CRTIMP size_t __cdecl __MINGW_NOTHROW fread (void*, size_t, size_t, FILE*);
                                        ^
C:/TDM-GCC-32/include/stdio.h:413:40: error: expected ',' or ';' before 'fwrite'
 _CRTIMP size_t __cdecl __MINGW_NOTHROW fwrite (const void*, size_t, size_t, FILE*);
                                        ^
In file included from foo.c:3:0:
C:/TDM-GCC-32/include/stdio.h:565:59: error: expected declaration specifiers or '...' before 'size_t'
 _CRTIMP int __cdecl __MINGW_NOTHROW _snwprintf (wchar_t*, size_t, const wchar_t*, ...);
                                                           ^
C:/TDM-GCC-32/include/stdio.h:568:60: error: expected declaration specifiers or '...' before 'size_t'
 _CRTIMP int __cdecl __MINGW_NOTHROW _vsnwprintf (wchar_t*, size_t, const wchar_t*, __VALIST);
                                                            ^
C:/TDM-GCC-32/include/stdio.h:605:52: error: expected declaration specifiers or '...' before 'size_t'
 int __cdecl __MINGW_NOTHROW snwprintf (wchar_t* s, size_t n, const wchar_t*  format, ...);
                                                    ^
C:/TDM-GCC-32/include/stdio.h:606:53: error: expected declaration specifiers or '...' before 'size_t'
 int __cdecl __MINGW_NOTHROW vsnwprintf (wchar_t* s, size_t n, const wchar_t* format, __VALIST arg);
                                                     ^
C:/TDM-GCC-32/include/stdio.h:609:25: error: expected declaration specifiers or '...' before 'size_t'
 vsnwprintf (wchar_t* s, size_t n, const wchar_t* format, __VALIST arg)
                         ^

信息

递交者
类型
递交
题目
P1000 A+B Problem
语言
C
递交时间
2015-08-01 17:18:07
评测时间
2015-08-01 17:18:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes