Tried to do a fresh install of 4.0 and got this message:
In file included from internal/c/libqb/src/threading.cpp:2:
./internal/c/libqb/include/libqb-common.h:65:18: fatal error: 'cstddef' file not found
65 | # include <cstddef>
| ^~~~~~~~~
In file included from internal/c/libqb.cpp:1:
In file included from internal/c/libqb.h:3:
In file included from internal/c/common.h:20:
In file included from internal/c/os.h:2:
./internal/c/libqb/include/libqb-common.h:65:18: fatal error: 'cstddef' file not found
65 | # include <cstddef>
| ^~~~~~~~~
1 error generated.
make: *** [internal/c/libqb/src/threading.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from internal/c/qbx.cpp:2:
In file included from ./internal/c/libqb/include/bitops.h:3:
./internal/c/libqb/include/libqb-common.h:65:18: fatal error: 'cstddef' file not found
65 | # include <cstddef>
| ^~~~~~~~~
1 error generated.
make: *** [internal/c/libqb_make_00010100.o] Error 1
1 error generated.
make: *** [internal/c/qbx.o] Error 1
Compilation of QB64-PE failed!
In file included from internal/c/libqb/src/threading.cpp:2:
./internal/c/libqb/include/libqb-common.h:65:18: fatal error: 'cstddef' file not found
65 | # include <cstddef>
| ^~~~~~~~~
In file included from internal/c/libqb.cpp:1:
In file included from internal/c/libqb.h:3:
In file included from internal/c/common.h:20:
In file included from internal/c/os.h:2:
./internal/c/libqb/include/libqb-common.h:65:18: fatal error: 'cstddef' file not found
65 | # include <cstddef>
| ^~~~~~~~~
1 error generated.
make: *** [internal/c/libqb/src/threading.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from internal/c/qbx.cpp:2:
In file included from ./internal/c/libqb/include/bitops.h:3:
./internal/c/libqb/include/libqb-common.h:65:18: fatal error: 'cstddef' file not found
65 | # include <cstddef>
| ^~~~~~~~~
1 error generated.
make: *** [internal/c/libqb_make_00010100.o] Error 1
1 error generated.
make: *** [internal/c/qbx.o] Error 1
Compilation of QB64-PE failed!