You do not want to bypass this check. This tells you that something is wrong with your code and only APPEARS to leave in release mode. What actually happens is that you get undefined behavior that seems to work the way you want it to. In fact, this will fail at some unpredictable point in the future, which will cause even greater grief and possibly many hours of debugging.
source
share