[Proj] Proj 4.9.1RC4 Released

Hermann Peifer peifer at gmx.eu
Tue Feb 24 23:28:35 PST 2015


On 2015-02-24 22:28, Howard Butler wrote:
>
> I have issued RC4 to address this issue.
>
> http://download.osgeo.org/proj/proj-4.9.1RC4.tar.gz
>

Just in case someone would be interested: some compiler warning 
attached. The warning counts are:

      91 [-Wmissing-braces]
       1 [-Wsometimes-uninitialized]
       6 [-Wunused-const-variable]
       3 [-Wunused-variable]

I'm on a MacBook, where gcc isn't really gcc [0]. For RC4, all TESTs are 
OK [1], whereas in trunk, I'm also getting the -0 issue [2].

Hermann

[0] gcc --version
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14
Thread model: posix


[1] make check  # RC4
============================================
Running ../nad/test27 using ../src/proj:
============================================
...
TEST OK
============================================
Running ../nad/test83 using ../src/proj:
============================================
...
TEST OK
============================================
Running ../nad/testvarious using ../src/cs2cs:
============================================
...
TEST OK


[2] make check  # trunk
============================================
Running ../nad/testvarious using ../src/cs2cs:
============================================
...
diff tv_out with tv_out.dist
119,120c119,120
< 1.437378399445537 5.364369216432778	0.00000	60.00000 0.00000
< 1.437378399445537 -5.364369216432778	0.00000	-60.00000 0.00000
---
 > 1.437378399445537 5.364369216432778	-0.00000	60.00000 0.00000
 > 1.437378399445537 -5.364369216432778	-0.00000	-60.00000 0.00000

PROBLEMS HAVE OCCURED
test file tv_out saved

-------------- next part --------------
PJ_sterea.c:7:1: warning: unused variable 'LIBPROJ_ID' [-Wunused-const-variable]
LIBPROJ_ID[] = "$Id: PJ_sterea.c 2022 2011-05-20 13:04:08Z warmerdam $";
^
1 warning generated.
proj_rouss.c:7:1: warning: unused variable 'LIBPROJ_ID' [-Wunused-const-variable]
LIBPROJ_ID[] = "$Id: proj_rouss.c 1856 2010-06-11 03:26:04Z warmerdam $";
^
1 warning generated.
PJ_lcca.c:1:19: warning: unused variable 'RCS_ID' [-Wunused-const-variable]
static const char RCS_ID[] = "$Id: PJ_lcca.c 1856 2010-06-11 03:26:04Z warmerdam $";
                  ^
1 warning generated.
PJ_geos.c:8:1: warning: unused variable 'LIBPROJ_ID' [-Wunused-const-variable]
LIBPROJ_ID[] = "$Id: PJ_geos.c 2411 2013-12-09 18:13:15Z warmerdam $";
^
1 warning generated.
PJ_qsc.c:112:23: warning: unused variable 'nu' [-Wunused-variable]
        double t, mu, nu;
                      ^
1 warning generated.
mk_cheby.c:79:17: warning: variable 'T' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
            if (!bch2bps(a, b, w, nu, nv))
                ^~~~~~~~~~~~~~~~~~~~~~~~~
mk_cheby.c:163:9: note: uninitialized use occurs here
    if (T) { /* pj_dalloc up possible allocations */
        ^
mk_cheby.c:79:13: note: remove the 'if' if its condition is always false
            if (!bch2bps(a, b, w, nu, nv))
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mk_cheby.c:39:15: note: initialize the variable 'T' to silence this warning
    Tseries *T;
              ^
               = NULL
1 warning generated.
pj_ellps.c:7:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"MERIT",        "a=6378137.0", "rf=298.257", "MERIT 1983",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                        }
pj_ellps.c:8:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"SGS85",        "a=6378136.0", "rf=298.257",  "Soviet Geodetic System 85",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                        }
pj_ellps.c:9:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"GRS80",        "a=6378137.0", "rf=298.257222101", "GRS 1980(IUGG, 1980)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                        }
pj_ellps.c:10:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"IAU76",        "a=6378140.0", "rf=298.257", "IAU 1976",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                      }
pj_ellps.c:11:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"airy",         "a=6377563.396", "b=6356256.910", "Airy 1830",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                            }
pj_ellps.c:12:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"APL4.9",       "a=6378137.0.",  "rf=298.25", "Appl. Physics. 1965",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                  }
pj_ellps.c:13:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"NWL9D",        "a=6378145.0.",  "rf=298.25", "Naval Weapons Lab., 1965",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                       }
pj_ellps.c:14:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"mod_airy",     "a=6377340.189", "b=6356034.446", "Modified Airy",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                }
pj_ellps.c:15:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"andrae",       "a=6377104.43",  "rf=300.0",    "Andrae 1876 (Den., Iclnd.)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                           }
pj_ellps.c:16:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"aust_SA",      "a=6378160.0", "rf=298.25", "Australian Natl & S. Amer. 1969",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                            }
pj_ellps.c:17:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"GRS67",        "a=6378160.0", "rf=298.2471674270", "GRS 67(IUGG 1967)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                      }
pj_ellps.c:18:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"bessel",       "a=6377397.155", "rf=299.1528128", "Bessel 1841",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                               }
pj_ellps.c:19:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"bess_nam",     "a=6377483.865", "rf=299.1528128", "Bessel 1841 (Namibia)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                         }
pj_ellps.c:20:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"clrk66",       "a=6378206.4", "b=6356583.8", "Clarke 1866",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                          }
pj_ellps.c:21:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"clrk80",       "a=6378249.145", "rf=293.4663", "Clarke 1880 mod.",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                 }
pj_ellps.c:22:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"clrk80ign","a=6378249.2", "rf=293.4660212936269", "Clarke 1880 (IGN).",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                      }
pj_ellps.c:23:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"CPM",          "a=6375738.7", "rf=334.29", "Comm. des Poids et Mesures 1799",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                            }
pj_ellps.c:24:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"delmbr",       "a=6376428.",  "rf=311.5", "Delambre 1810 (Belgium)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                   }
pj_ellps.c:25:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"engelis",      "a=6378136.05", "rf=298.2566", "Engelis 1985",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                            }
pj_ellps.c:26:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"evrst30",  "a=6377276.345", "rf=300.8017",  "Everest 1830",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                          }
pj_ellps.c:27:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"evrst48",  "a=6377304.063", "rf=300.8017",  "Everest 1948",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                          }
pj_ellps.c:28:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"evrst56",  "a=6377301.243", "rf=300.8017",  "Everest 1956",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                          }
pj_ellps.c:29:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"evrst69",  "a=6377295.664", "rf=300.8017",  "Everest 1969",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                          }
pj_ellps.c:30:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"evrstSS",  "a=6377298.556", "rf=300.8017",  "Everest (Sabah & Sarawak)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                       }
pj_ellps.c:31:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"fschr60",  "a=6378166.",   "rf=298.3", "Fischer (Mercury Datum) 1960",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                     }
pj_ellps.c:32:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"fschr60m", "a=6378155.",   "rf=298.3", "Modified Fischer 1960",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                              }
pj_ellps.c:33:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"fschr68",  "a=6378150.",   "rf=298.3", "Fischer 1968",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                     }
pj_ellps.c:34:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"helmert",  "a=6378200.",   "rf=298.3", "Helmert 1906",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                     }
pj_ellps.c:35:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"hough",        "a=6378270.0", "rf=297.", "Hough",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                }
pj_ellps.c:36:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"intl",         "a=6378388.0", "rf=297.", "International 1909 (Hayford)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                       }
pj_ellps.c:37:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"krass",        "a=6378245.0", "rf=298.3", "Krassovsky, 1942",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                            }
pj_ellps.c:38:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"kaula",        "a=6378163.",  "rf=298.24", "Kaula 1961",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                       }
pj_ellps.c:39:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"lerch",        "a=6378139.",  "rf=298.257", "Lerch 1979",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                        }
pj_ellps.c:40:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"mprts",        "a=6397300.",  "rf=191.", "Maupertius 1738",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                          }
pj_ellps.c:41:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"new_intl",     "a=6378157.5", "b=6356772.2", "New International 1967",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                     }
pj_ellps.c:42:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"plessis",      "a=6376523.",  "b=6355863.", "Plessis 1817 (France)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                   }
pj_ellps.c:43:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"SEasia",       "a=6378155.0", "b=6356773.3205", "Southeast Asia",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                }
pj_ellps.c:44:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"walbeck",      "a=6376896.0", "b=6355834.8467", "Walbeck",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                         }
pj_ellps.c:45:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"WGS60",    "a=6378165.0",  "rf=298.3", "WGS 60",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                               }
pj_ellps.c:46:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"WGS66",        "a=6378145.0", "rf=298.25", "WGS 66",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                   }
pj_ellps.c:47:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"WGS72",        "a=6378135.0", "rf=298.26", "WGS 72",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                   }
pj_ellps.c:48:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"WGS84",    "a=6378137.0",  "rf=298.257223563", "WGS 84",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                       }
pj_ellps.c:49:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"sphere",   "a=6370997.0",  "b=6370997.0", "Normal Sphere (r=6370997)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                     }
pj_ellps.c:50:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
0,0,0,0
^~~~~~~
{      }
44 warnings generated.
pj_init.c:425:19: warning: unused variable 'last' [-Wunused-variable]
        paralist *last = curr;
                  ^
1 warning generated.
proj_mdist.c:7:1: warning: unused variable 'LIBPROJ_ID' [-Wunused-const-variable]
LIBPROJ_ID[] = "$Id: proj_mdist.c 1856 2010-06-11 03:26:04Z warmerdam $";
^
1 warning generated.
pj_units.c:9:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "km",   "1000.",        "Kilometer",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                  }
pj_units.c:10:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "m",    "1.",           "Meter",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                              }
pj_units.c:11:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "dm",   "1/10",         "Decimeter",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                  }
pj_units.c:12:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "cm",   "1/100",        "Centimeter",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                   }
pj_units.c:13:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "mm",   "1/1000",       "Millimeter",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                   }
pj_units.c:14:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "kmi",  "1852.0",       "International Nautical Mile",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                                    }
pj_units.c:15:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "in",   "0.0254",       "International Inch",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                           }
pj_units.c:16:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "ft",   "0.3048",       "International Foot",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                           }
pj_units.c:17:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "yd",   "0.9144",       "International Yard",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                           }
pj_units.c:18:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "mi",   "1609.344",     "International Statute Mile",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                                   }
pj_units.c:19:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "fath", "1.8288",       "International Fathom",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                             }
pj_units.c:20:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "ch",   "20.1168",      "International Chain",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                            }
pj_units.c:21:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "link", "0.201168",     "International Link",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                           }
pj_units.c:22:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "us-in",        "1./39.37",     "U.S. Surveyor's Inch",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                                     }
pj_units.c:23:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "us-ft",        "0.304800609601219",    "U.S. Surveyor's Foot",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                                             }
pj_units.c:24:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "us-yd",        "0.914401828803658",    "U.S. Surveyor's Yard",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                                             }
pj_units.c:25:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "us-ch",        "20.11684023368047",    "U.S. Surveyor's Chain",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                                              }
pj_units.c:26:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "us-mi",        "1609.347218694437",    "U.S. Surveyor's Statute Mile",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                                                     }
pj_units.c:27:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "ind-yd",       "0.91439523",   "Indian Yard",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                            }
pj_units.c:28:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "ind-ft",       "0.30479841",   "Indian Foot",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                            }
pj_units.c:29:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        "ind-ch",       "20.11669506",  "Indian Chain",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {                                             }
pj_units.c:30:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
(char *)0, (char *)0, (char *)0
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                              }
22 warnings generated.
pj_gauss.c:7:1: warning: unused variable 'LIBPROJ_ID' [-Wunused-const-variable]
LIBPROJ_ID[] = "$Id: pj_gauss.c 1856 2010-06-11 03:26:04Z warmerdam $";
^
1 warning generated.
pj_datums.c:43:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"WGS84",    "towgs84=0,0,0",                         "WGS84", "",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                               }
pj_datums.c:44:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"GGRS87",   "towgs84=-199.87,74.79,246.62",          "GRS80", 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pj_datums.c:46:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"NAD83",    "towgs84=0,0,0",                         "GRS80", 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pj_datums.c:48:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"NAD27",    "nadgrids=@conus, at alaska, at ntv2_0.gsb, at ntv1_can.dat",           
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pj_datums.c:51:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"potsdam",  "towgs84=598.1,73.7,418.2,0.202,0.045,-2.455,6.7",  "bessel",  "Potsdam Rauenberg 1950 DHDN",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                                                       }
pj_datums.c:52:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"carthage",  "towgs84=-263.0,6.0,431.0",  "clrk80ign",  "Carthage 1934 Tunisia",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                              }
pj_datums.c:53:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"hermannskogel", "towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232",  "bessel",  "Hermannskogel",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                                                      }
pj_datums.c:54:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"ire65",  "towgs84=482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",  "mod_airy",  "Ireland 1965",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                                                   }
pj_datums.c:55:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"nzgd49",    "towgs84=59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993", "intl", "New Zealand Geodetic Datum 1949",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                                                           }
pj_datums.c:56:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
"OSGB36",    "towgs84=446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894", "airy", "Airy 1830",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                                                 }
pj_datums.c:57:1: warning: suggest braces around initialization of subobject [-Wmissing-braces]
NULL,       NULL,                                    NULL,    NULL 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{                                                                 }
/usr/include/sys/_types/_null.h:29:15: note: expanded from macro 'NULL'
#define NULL  __DARWIN_NULL
              ^
/usr/include/sys/_types.h:52:23: note: expanded from macro '__DARWIN_NULL'
#define __DARWIN_NULL ((void *)0)
                      ^
pj_datums.c:69:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "greenwich", "0dE",
    ^~~~~~~~~~~~~~~~~~
    {                 }
pj_datums.c:70:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "lisbon",    "9d07'54.862\"W",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                            }
pj_datums.c:71:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "paris",     "2d20'14.025\"E",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                            }
pj_datums.c:72:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "bogota",    "74d04'51.3\"W",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                           }
pj_datums.c:73:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "madrid",    "3d41'16.58\"W",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                           }
pj_datums.c:74:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "rome",      "12d27'8.4\"E",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                          }
pj_datums.c:75:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "bern",      "7d26'22.5\"E",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                          }
pj_datums.c:76:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "jakarta",   "106d48'27.79\"E",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                             }
pj_datums.c:77:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "ferro",     "17d40'W",
    ^~~~~~~~~~~~~~~~~~~~~~
    {                     }
pj_datums.c:78:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "brussels",  "4d22'4.71\"E",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                          }
pj_datums.c:79:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "stockholm", "18d3'29.8\"E",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                          }
pj_datums.c:80:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "athens",    "23d42'58.815\"E",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                             }
pj_datums.c:81:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "oslo",      "10d43'22.5\"E",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                           }
pj_datums.c:82:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    NULL,        NULL 
    ^~~~~~~~~~~~~~~~~
    {                }
/usr/include/sys/_types/_null.h:29:15: note: expanded from macro 'NULL'
#define NULL  __DARWIN_NULL
              ^
/usr/include/sys/_types.h:52:23: note: expanded from macro '__DARWIN_NULL'
#define __DARWIN_NULL ((void *)0)
                      ^
25 warnings generated.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libproj.a(jniproj.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libproj.a(jniproj.o) has no symbols
cs2cs.c:56:23: warning: unused variable 'facs' [-Wunused-variable]
static struct FACTORS facs;
                      ^
1 warning generated.


More information about the Proj mailing list