Run-time error with compiled codes on OS X 10.9.4

I am kind of puzzled but this happens also with other compilers, for instance gcc 4.9 did not change the error.

Does it make sense to try with different compliers?

Cheers,
Roberto