Problem compiling code

I think its 4.0.1 I know 4.1 is out but I’d rather learn on something not changing as I go, so I’ll update when there’s a major upgrade.