mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2026-02-06 01:39:47 +08:00
Add comprehensive test cases demonstrating the correct way to format hexadecimal values using ipc::fmt and ipc::spec, addressing the MinGW compilation failure reported in issue #171. The tests cover: - Basic hex formatting (lowercase/uppercase) - Hex formatting with 0x prefix - Mixed decimal and hex output patterns (like the problematic log calls) - Various integer types with hex formatting - Width and padding options Note: ipc::spec format strings should NOT include length modifiers (like "ll"). The to_string function automatically adds the correct length modifier based on the argument type. Refs: #171 |
||
|---|---|---|
| .. | ||
| archive | ||
| concur | ||
| imp | ||
| mem | ||
| CMakeLists.txt | ||
| test_buffer.cpp | ||
| test_condition.cpp | ||
| test_ipc_channel.cpp | ||
| test_locks.cpp | ||
| test_mutex.cpp | ||
| test_semaphore.cpp | ||
| test_shm.cpp | ||