Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gcc): ignore warning for already handled null pointer (#102)
[fix: ignore warning for already handled null pointer](c185bd7) GCC 13.3 and GCC 14.1 both seem to incorrectly parse the stringification condition incorrectly, and will warn about null pointers that have already been returned early from. --- Unsure if this is the best strategy to solve this, open to revise it. Followed the same pattern as [how old-style ASSERT(foo && "Message")](https://github.com/jeremy-rifkin/libassert/blob/aff047da702316b10219a967f78da352f847b8d0/include/libassert/expression-decomposition.hpp#L120-L132) was implemented.
- Loading branch information