Sync integer parsing warnings/errors with STD.

Of note, the one that warns about leading 0 not being octal is now
shown.