Open caiohamamura opened 4 years ago
Hmm which package is this? Why don't we see this for any other pkgs? Can you give me the link to the full check output?
This looks like a bug in gdal that still appears in the latest versions of gdal 2 and 3. Can you report this in https://github.com/OSGeo/gdal ?
By the way the same compiler warning appears on Debian, but somehow this does not generate a WARNING: https://win-builder.r-project.org/incoming_pretest/rGEDI_0.0.1_20200315_044000/Debian/00install.out
Yes, I realized that Debian wasn't complaining, I thought it was because it was using a different version of gdal, I didn't look into the install.out, strange...
I'll report an issue in gdal, though.
Thanks!
Yeah it's pretty difficult to solve otherwise. Is there any way you can avoid including the ogr_srs_api.h
header api in your gedisimulator/gediIO.o
or is this a critical header?
Well, actually this is already coming from Steven Hancock's library, it's no my own, but I could tweak his code. I will do it and include a #ifdef WITH_GDAL or something
I've submitted a package using the 2.2.3 release version, but CRAN threw a WARNING and refused my package. The ogr_core.h when checked with -Wpedantic will throw the error:
ogr_core.h:394:19: warning: ISO C restricts enumerator values to range of 'int' [-Wpedantic]
Is there another GDAL version (major 2) which will not trigger this warning?