Compare commits

..
1 Commits
Author SHA1 Message Date
abdelrahman 45e58a23f6 Rename debug macro
Release / release (push) Successful in 12s
2026-11-11 01:48:12 +00:00
5 changed files with 11 additions and 5 deletions

No files matched your search

+6
View File
@@ -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
+2 -2
View File
@@ -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
+1 -1
View File
@@ -1 +1 @@
3.3.1
3.4.0
+1 -1
View File
@@ -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
View File
@@ -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 ---