What compiler are you using ?
I am using gcc ,
there is no errors.