O'Reilly logo
  • Jon Norris thinks this is interesting:

When you compile this program, you may get a warning similar to, “[Warning] this decimal constant is unsigned.”


Cover of Beginning C++ Through Game Programming, Third Edition


Note: g++ 8.1.0 (via Xcode) for Sierra does not display a warning, even with -Wall turned on during compile. The variable does return 0 after the last expressing (showing the wrap) but no error message.