Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

warning: Parse Issue: Use of GNU old-style field designator extension

I tried the following code:

CLLocationCoordinate2D coord = {latitude: 61.2180556, longitude: -149.9002778};

and the compiler was showing the following warning

warning: Parse Issue: Use of GNU old-style field designator extension

Can somebody help me to understand what the complier is trying to say?

like image 1000
Harshit Gupta Avatar asked Jul 31 '12 13:07

Harshit Gupta


1 Answers

CLLocationCoordinate2D coord = {.latitude =  61.2180556, .longitude = -149.9002778};
like image 178
booiljoung Avatar answered Sep 19 '22 00:09

booiljoung