On Thu, 26 Feb 2026 at 12:17, Tomasz Kaminski <[email protected]> wrote:
>
> <cstdef> does not guarantee that size_t would be included defined in global 
> namespace,
> <stddef.h> should do that. Could you try qualifying size_t with std 
> (std::size_t) or
> adding using std::size_t at the beginning of the file.

Right, this is the wrong fix.

Either include the right header for unqualified use of size_t, which
is <stddef.h>, or use std::size_t which is declared by every libstdc++
header (via bits/c++config.h).

Reply via email to