PolMine / RcppCWB

'Rcpp' Bindings for the 'Corpus Workbench' (CWB)
Other
2 stars 3 forks source link

CRAN warning: unary_function<const char *, const char *> is deprecated #58

Closed ablaette closed 2 years ago

ablaette commented 2 years ago

CRAN checks for Debian R-devel with clang report this compiler warning:

Found the following significant warnings:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp/StringTransformer.h:30:40: warning: 'unary_function<const char *, const char *>' is deprecated [-Wdeprecated-declarations]
See https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/RcppCWB-00install.html for details.

Full details here: https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/RcppCWB-00install.html

If I am not mistaken, this is actually a Rcpp issue, see: https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/Rcpp-00check.html

I tried to reproduce the issue locally with https://github.com/rocker-org/r-devel-san-clang, but with the M1 chip, a small adjustment of the Dockerfile is necessary, see: https://github.com/rocker-org/r-devel-san-clang/issues/17

ablaette commented 2 years ago

This has apparently been a temporary issued, cannot see it nor reproduce it any more.