ares-openbsd/libco
invertego 7faebad713
build: fix level 1 msvc warnings (#1295)
Level 1 warnings are considered "severe" and, unsurprisingly, turning
them on revealed some true bugs.

- file-buffer.hpp: What should have been a zero extend followed by a
complement was instead a complement followed by a zero extend,
inadvertently truncating the file seek offset to 32 bits.
- file-map.cpp: What should have been a nullptr check after
CreateFileMapping() was instead a check for INVALID_HANDLE_VALUE. The
warning pointing me toward this was not technically about the misuse but
rather the redefinition of INVALID_HANDLE_VALUE in nall. I've removed
this and any reference to INVALID_HANDLE_VALUE except for error checks
immediately after calls to the few APIs that return it.
2023-11-19 14:59:02 +00:00
..
GNUmakefile
aarch64.c build: enable clang ThinLTO 2023-03-13 15:38:39 +00:00
amd64.c build: enable clang ThinLTO 2023-03-13 15:38:39 +00:00
arm.c v106.232 2019-12-02 19:45:14 +09:00
fiber.c Update to ares v111 release. 2020-03-24 19:06:00 +00:00
libco.c nall, libco: add support for risc-v arch (#1249) 2023-10-02 08:45:43 +01:00
libco.h Update to ares v118r01 release. 2021-02-26 19:33:00 +00:00
ppc.c
ppc64v2.c libco: fix powerpc64 LTO build 2022-11-15 16:06:55 +00:00
riscv.c nall, libco: add support for risc-v arch (#1249) 2023-10-02 08:45:43 +01:00
settings.h build: fix level 1 msvc warnings (#1295) 2023-11-19 14:59:02 +00:00
sjlj.c
ucontext.c
x86.c build: enable clang ThinLTO 2023-03-13 15:38:39 +00:00