Compiler Warning (level 3) C4723

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Warning (level 3) C4723.

potential divide by 0

The second operand in a divide operation evaluated to zero at compile time, giving undefined results.

This warning is issued only when using /Og or an optimization option that implies /Og.

The compiler may have generated the zero operand.

Show: