int iteration = 10; int WARN_GJK_ITERATIONS = 10; static assert (is(typeof({ cpAssertWarn(iteration < WARN_GJK_ITERATIONS, "iteration < WARN_GJK_ITERATIONS"); cpAssertWarn(iteration < WARN_GJK_ITERATIONS, "iteration < WARN_GJK_ITERATIONS", "High GJK iterations: %d", iteration); }())));
If the CHIP_ENABLE_WARNINGS version is set, print a warning to stderr if condition is false.