Got lots of error in that style, be it using gcc or clang in a guix shell
--container (by calling a pyhton script, more specifically to build
https://github.com/HumbleUI/JWM)
How to solve this ???
I just wanna compile, but seems like gcc 's include doesn't even works,
like why suggest to add "#include <cstddef>" to gcc's include files, when they
are supposed to work without having to modify them
/gnu/store/4rj89rrw3c5gzr97z8cik34ahm305cc8-profile/include/bits/types/cookie_io_functions_t.h:28:43:
error: ‘size_t’ has not been declared
28 | size_t __nbytes);
| ^~~~~~
/gnu/store/4rj89rrw3c5gzr97z8cik34ahm305cc8-profile/include/bits/types/cookie_io_functions_t.h:1:1:
note: ‘size_t’ is defined in header ‘<cstddef>’; this is probably fixable by adding
‘#include <cstddef>’
+++ |+#include <cstddef>
1 | /* Copyright (C) 1991-2025 Free Software Foundation, Inc.
/gnu/store/4rj89rrw3c5gzr97z8cik34ahm305cc8-profile/include/bits/types/cookie_io_functions_t.h:37:44:
error: ‘size_t’ has not been declared
37 | size_t __nbytes);
| ^~~~~~
/gnu/store/4rj89rrw3c5gzr97z8cik34ahm305cc8-profile/include/bits/types/cookie_io_functions_t.h:37:44:
note: ‘size_t’ is defined in header ‘<cstddef>’; this is probably fixable by adding
‘#include <cstddef>’
/gnu/store/4rj89rrw3c5gzr97z8cik34ahm305cc8-profile/include/stdio.h:314:35:
error: ‘size_t’ has not been declared
314 | extern FILE *fmemopen (void *__s, size_t __len, const char *__modes)
| ^~~~~~
In file included from
/gnu/store/4rj89rrw3c5gzr97z8cik34ahm305cc8-profile/include/c++/ext/string_conversions.h:48:
/gnu/store/4rj89rrw3c5gzr97z8cik34ahm305cc8-profile/include/c++/ext/string_conversions.h:
In constructor ‘__gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base
...), const char*, const _CharT*, std::size_t*, _Base
...)::_Save_errno::_Save_errno()’:
/gnu/store/4rj89rrw3c5gzr97z8cik34ahm305cc8-profile/include/c++/ext/string_conversions.h:67:34:
error: ‘errno’ was not declared in this scope [-Wtemplate-body]
67 | _Save_errno() : _M_errno(errno) { errno = 0; }
| ^~~~~
/gnu/store/4rj89rrw3c5gzr97z8cik34ahm305cc8-profile/include/c++/ext/string_conversions.h:49:1:
note: ‘errno’ is defined in header ‘<cerrno>’; this is probably fixable by adding
‘#include <cerrno>’
48 | #include <cerrno>
+++ |+#include <cerrno>