Compile Error

In file included from /usr/include/c++/13/cstdio:41:0,
                 from main.cpp:1:
/usr/include/c++/13/x86_64-redhat-linux/bits/c++config.h: In function 'constexpr bool std::__is_constant_evaluated()':
/usr/include/c++/13/x86_64-redhat-linux/bits/c++config.h:2832:44: error: '__builtin_is_constant_evaluated' was not declared in this scope
/usr/include/c++/13/x86_64-redhat-linux/bits/c++config.h:2836:3: error: body of constexpr function 'constexpr bool std::__is_constant_evaluated()' not a return-statement
In file included from /usr/include/c++/13/cstdio:42:0,
                 from main.cpp:1:
/usr/include/stdio.h: At global scope:
/usr/include/stdio.h:194:71: error: wrong number of arguments specified for '__malloc__' attribute
    This function is a possible cancellation point and therefore not
                                                                       ^
In file included from /usr/include/c++/13/cstdio:42:0,
                 from main.cpp:1:
/usr/include/stdio.h:206:72: error: wrong number of arguments specified for '__malloc__' attribute
 #ifdef __USE_LARGEFILE64
                                                                        ^
In file included from /usr/include/c++/13/cstdio:42:0,
                 from main.cpp:1:
/usr/include/stdio.h:228:96: error: wrong number of arguments specified for '__malloc__' attribute
    is allocated by `malloc'.  */
                                                                                                ^
In file included from /usr/include/c++/13/cstdio:42:0,
                 from main.cpp:1:
/usr/include/stdio.h:265:71: error: wrong number of arguments specified for '__malloc__' attribute
 #endif
                                                                       ^
In file included from /usr/include/c++/13/cstdio:42:0,
                 from main.cpp:1:
/usr/include/stdio.h:290:71: error: wrong number of arguments specified for '__malloc__' attribute
        FILE *__restrict __stream), freopen64)
                                                                       ^
/usr/include/stdio.h:299:71: error: wrong number of arguments specified for '__malloc__' attribute
 extern FILE *fopen64 (const char *__restrict __filename,
                                                                       ^
/usr/include/stdio.h:308:71: error: wrong number of arguments specified for '__malloc__' attribute
 extern FILE *fdopen (int __fd, const char *__modes) __THROW __wur;
                                                                       ^
/usr/include/stdio.h:314:87: error: wrong number of arguments specified for '__malloc__' attribute
 extern FILE *fopencookie (void *__restrict __magic_cookie,
                                                                                       ^
/usr/include/stdio.h:320:71: error: wrong number of arguments specified for '__malloc__' attribute
 /* Create a new stream that refers to a memory buffer.  */
                                                                       ^
In file included from /usr/include/c++/13/cstdio:42:0,
                 from main.cpp:1:
/usr/include/stdio.h:888:71: error: wrong number of arguments specified for '__malloc__' attribute
 
                                                                       ^

信息

递交者
类型
递交
题目
HW
语言
C++
递交时间
2024-06-20 13:09:52
评测时间
2024-06-20 13:09:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes