Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45e58a23f6 |
No files matched your search
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [3.4.0] - 2026-11-11
|
||||
|
||||
### Changed
|
||||
|
||||
- `WP_DEBUG_ASSERT` macro to `WP_DEBUG_BUILD`
|
||||
|
||||
## [3.3.1] - 2026-10-29
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -34,9 +34,9 @@ override HEADER_INSTALL_CMD := scripts/header_install.sh
|
||||
|
||||
ifeq ($(origin BUILD_FLAGS), undefined)
|
||||
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)
|
||||
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)
|
||||
BUILD_FLAGS += -O3
|
||||
else
|
||||
|
||||
@@ -21,7 +21,7 @@ BEGIN_C_LINKAGE
|
||||
#define wpRuntimeAssert(EXPR, MSG)
|
||||
#endif
|
||||
|
||||
#ifdef WP_DEBUG_ASSERT
|
||||
#ifdef WP_DEBUG_BUILD
|
||||
#define wpDebugAssert(EXPR, MSG) wpRuntimeAssert(EXPR, MSG)
|
||||
#else
|
||||
#define wpDebugAssert(EXPR, MSG)
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@
|
||||
// --- 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 ---
|
||||
|
||||
|
||||
Reference in new issue
Block a user