On 2015-06-15 19:10, Thiago Macieira wrote:
> 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.

Good explanation!

I wish this was yet more prominent in the docs. It took me actually 2 
years to figure out that exactly this had been the cause that some of my 
command line tools kept randomly crashing on all desktop platforms.

Sascha
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to