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") was implemented.
fix: ignore warning for already handled null pointer
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") was implemented.