1 parent
5687cb512c
commit
45e58a23f6
5 files changed
+11
-5
No files matched your search
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [3.4.0] - 2026-11-11
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- `WP_DEBUG_ASSERT` macro to `WP_DEBUG_BUILD`
|
||||||
|
|
||||||
## [3.3.1] - 2026-10-29
|
## [3.3.1] - 2026-10-29
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ override HEADER_INSTALL_CMD := scripts/header_install.sh
|
|||||||
|
|
||||||
ifeq ($(origin BUILD_FLAGS), undefined)
|
ifeq ($(origin BUILD_FLAGS), undefined)
|
||||||
ifeq ($(BUILD_TYPE),Debug)
|
ifeq ($(BUILD_TYPE),Debug)
|
||||||
BUILD_FLAGS += -g -fsanitize=address,undefined -DWP_DEBUG_ASSERT
|
BUILD_FLAGS += -g -fsanitize=address,undefined -DWP_DEBUG_BUILD
|
||||||
else ifeq ($(BUILD_TYPE),RelWithDebInfo)
|
else ifeq ($(BUILD_TYPE),RelWithDebInfo)
|
||||||
BUILD_FLAGS += -g -O2 -fsanitize=address,undefined -DWP_DEBUG_ASSERT
|
BUILD_FLAGS += -g -O2 -fsanitize=address,undefined -DWP_DEBUG_BUILD
|
||||||
else ifeq ($(BUILD_TYPE),Release)
|
else ifeq ($(BUILD_TYPE),Release)
|
||||||
BUILD_FLAGS += -O3
|
BUILD_FLAGS += -O3
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ BEGIN_C_LINKAGE
|
|||||||
#define wpRuntimeAssert(EXPR, MSG)
|
#define wpRuntimeAssert(EXPR, MSG)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WP_DEBUG_ASSERT
|
#ifdef WP_DEBUG_BUILD
|
||||||
#define wpDebugAssert(EXPR, MSG) wpRuntimeAssert(EXPR, MSG)
|
#define wpDebugAssert(EXPR, MSG) wpRuntimeAssert(EXPR, MSG)
|
||||||
#else
|
#else
|
||||||
#define wpDebugAssert(EXPR, MSG)
|
#define wpDebugAssert(EXPR, MSG)
|
||||||
|
|||||||
+1
-1
@@ -41,7 +41,7 @@
|
|||||||
// --- Assert ---
|
// --- Assert ---
|
||||||
|
|
||||||
#define WAPP_NO_RUNTIME_ASSERT WP_NO_RUNTIME_ASSERT
|
#define WAPP_NO_RUNTIME_ASSERT WP_NO_RUNTIME_ASSERT
|
||||||
#define WAPP_DEBUG_ASSERT WP_DEBUG_ASSERT
|
#define WAPP_DEBUG_ASSERT WP_DEBUG_BUILD
|
||||||
|
|
||||||
// --- CPath ---
|
// --- CPath ---
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user