SymbolixAU / geojsonsf

Conversion between sf and geojson
Other
82 stars 7 forks source link

gcc compiler warnings #27

Closed SymbolixAU closed 4 years ago

SymbolixAU commented 6 years ago
SymbolixAU commented 6 years ago

rapidjsonr v1.1 uses updated rapidjson library with the fix

SymbolixAU commented 6 years ago

It's possible this is still persisting in rapidjson

https://www.stats.ox.ac.uk/pub/bdr/gcc8/geojsonsf.out

* using log directory ‘/data/gannet/ripley/R/packages/tests-gcc8/geojsonsf.Rcheck’
* using R Under development (unstable) (2018-06-28 r74935)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* using option ‘--no-stop-on-test-error’
* checking for file ‘geojsonsf/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘geojsonsf’ version ‘1.1’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘geojsonsf’ can be installed ... [123s/43s] WARNING
Found the following significant warnings:
  /data/gannet2/ripley/R/test-gcc8/rapidjsonr/include/rapidjson/document.h:2030:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'rapidjson::GenericValue<rapidjson::UTF8<> >::Member' {aka 'struct rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >'} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess]
  /data/gannet2/ripley/R/test-gcc8/rapidjsonr/include/rapidjson/document.h:2017:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class rapidjson::GenericValue<rapidjson::UTF8<> >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
See ‘/data/gannet/ripley/R/packages/tests-gcc8/geojsonsf.Rcheck/00install.out’ for details.
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... OK
* checking use of S3 registration ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd line widths ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking contents of ‘data’ directory ... OK
* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking pragmas in C/C++ headers and code ... OK
* checking compilation flags used ... OK
* checking compiled code ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘testthat.R’
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking re-building of vignette outputs ... [6s/12s] OK
* checking PDF version of manual ... OK
* DONE

Status: 1 WARNING
See
  ‘/data/gannet/ripley/R/packages/tests-gcc8/geojsonsf.Rcheck/00check.log’
for details.

Time 1:58.34, 149.09 + 10.85
dcooley commented 4 years ago

These seem to be sorted.