Bug in ^^

lithium iodate whatdoiknow at doesntexist.net
Tue Sep 17 18:12:03 UTC 2019


On Tuesday, 17 September 2019 at 17:51:59 UTC, Johan Engelen 
wrote:
> I briefly looked for it, but couldn't find how to do that with 
> GCC/clang (other than #pragma diagnostic push/pop).

It does not appear to me that either GCC* or Clang warns about 
wrapping/overflow unless you're directly invoking undefined 
behavior. In that case, of course, the proper solution is to fix 
the broken code.

*compiling C code


More information about the Digitalmars-d mailing list