mutouyun 642be3629b fix(win): replace std::hex/std::dec with ipc::spec for MinGW compatibility (issue #171)
Replace I/O manipulators (std::hex, std::dec) with ipc::spec in log
statements. The ipc::fmt system does not support std::iostream
manipulators, which caused compilation failures under MinGW.

Changed files:
- src/libipc/platform/win/mutex.h (lines 78, 96)
- src/libipc/platform/win/semaphore.h (line 71)

The format spec "#x" produces output like "0x102" which matches
the original behavior:
- # flag adds the "0x" prefix automatically
- x outputs lowercase hexadecimal

Fixes: #171
2026-01-21 06:32:50 +00:00
..
codecvt.h mingw: lower case for mingw new Windows.h includes 2025-12-31 17:24:18 +00:00
condition.h refactor(log): replace utility/log with imp/log in all platform and sync files 2025-12-15 09:37:50 +00:00
demangle.h Add nameof & scope_exit 2025-12-12 07:04:31 +00:00
get_sa.h fix(log): move sa_initiator struct outside get_sa() function 2025-12-15 12:10:26 +00:00
mutex.h fix(win): replace std::hex/std::dec with ipc::spec for MinGW compatibility (issue #171) 2026-01-21 06:32:50 +00:00
semaphore.h fix(win): replace std::hex/std::dec with ipc::spec for MinGW compatibility (issue #171) 2026-01-21 06:32:50 +00:00
shm_win.cpp fix(log): fix malformed log calls and add missing LIBIPC_LOG() in shm files 2025-12-15 10:02:23 +00:00
system.h mingw: lower case for mingw new Windows.h includes 2025-12-31 17:24:18 +00:00
to_tchar.h libipc/memory/resource.h => libipc/mem/resource.h 2025-12-12 07:04:31 +00:00