Skip to content

fix(macros): add portable compiled level check - #23

Merged
LimiNode merged 3 commits into
mainfrom
codex/check-constexpr-warnings-in-c++11
Sep 14, 2025
Merged

fix(macros): add portable compiled level check#23
LimiNode merged 3 commits into
mainfrom
codex/check-constexpr-warnings-in-c++11

Conversation

@LimiNode

Copy link
Copy Markdown
Owner

Summary

  • add LOGIT_IF_COMPILED_LEVEL macro to preserve if constexpr on C++17 and use regular if on older standards
  • swap direct if constexpr uses in logging macros for the new helper

Testing

  • cmake -S . -B build -DCMAKE_CXX_STANDARD=17 -DLOG_IT_CPP_BUILD_TESTS=ON
  • cmake --build build
  • ctest --test-dir build

https://chatgpt.com/codex/tasks/task_e_68c6112a996c832ca834829a9d7d4678

@LimiNode
LimiNode merged commit 5c8e1ac into main Sep 14, 2025
7 checks passed
@LimiNode
LimiNode deleted the codex/check-constexpr-warnings-in-c++11 branch September 20, 2025 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant