Nicholas Rittler
2018-10-31 04:52:28 UTC
In attempting to submit a package to CRAN, I'm receiving the following
warning:
d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/interprocess/detail/win32_api.hpp:145:9:
warning: ISO C++ prohibits anonymous structs [-Wpedantic]
I obviously would like to get rid of this warning and get the package on
CRAN. I now know that CRAN doesn't set pendantic, however, the following is
the makevars.win the package is currently using, in it's entirety:
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
PKG_CPPFLAGS = -I.
I don't see where this is setting pendantic either. Is it possible it's a
default local setting on my end? If so, is there some flag that can be
passed in the makevars file that will not generate warnings about
non-portable code and will make sure pedantic is not set?
Thanks all for the time of day.
warning:
d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/interprocess/detail/win32_api.hpp:145:9:
warning: ISO C++ prohibits anonymous structs [-Wpedantic]
I obviously would like to get rid of this warning and get the package on
CRAN. I now know that CRAN doesn't set pendantic, however, the following is
the makevars.win the package is currently using, in it's entirety:
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
PKG_CPPFLAGS = -I.
I don't see where this is setting pendantic either. Is it possible it's a
default local setting on my end? If so, is there some flag that can be
passed in the makevars file that will not generate warnings about
non-portable code and will make sure pedantic is not set?
Thanks all for the time of day.