[Interest] 5.4.2 Android Misery just one typo away

Thiago Macieira thiago.macieira at intel.com
Mon Jun 15 20:10:40 CEST 2015


On Monday 15 June 2015 10:17:48 mark diener wrote:
> It WILL compile on all the platforms, runs fine on OSX/IOS Simulator, but
> on Android it will surely DIE.

In addition to what the others said, "run fine" is missing a characterisation. 
Your program is running under undefined behaviour because the requirement 
applies to all platforms, not just Android.

it just so happens that one of the possible undefined behaviours is to run 
exactly like you expected it to.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list