-
-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Description
[...]
/usr/local/lib/R-devel/lib/R/library/Rcpp/include/Rcpp/macros/macros.h:36:17: warning: unused variable ‘stop_sym’ [-Wunused-variable]
static SEXP stop_sym = Rf_install("stop"); \
^~~~~~~~
/usr/local/lib/R-devel/lib/R/library/Rcpp/include/Rcpp/macros/macros.h:36:17: note: in definition of macro ‘BEGIN_RCPP’
static SEXP stop_sym = Rf_install("stop"); \
^~~~~~~~
RcppExports.cpp: In function ‘SEXPREC* _RQuantLib_europeanOptionArraysEngine_try(SEXP, SEXP)’:
/usr/local/lib/R-devel/lib/R/library/Rcpp/include/Rcpp/macros/macros.h:32:9: warning: unused variable ‘nprot’ [-Wunused-variable]
int nprot = 0; \
^~~~~
/usr/local/lib/R-devel/lib/R/library/Rcpp/include/Rcpp/macros/macros.h:32:9: note: in definition of macro ‘BEGIN_RCPP’
int nprot = 0; \
^~~~~
/usr/local/lib/R-devel/lib/R/library/Rcpp/include/Rcpp/macros/macros.h:36:17: warning: unused variable ‘stop_sym’ [-Wunused-variable]
static SEXP stop_sym = Rf_install("stop"); \
^~~~~~~~
/usr/local/lib/R-devel/lib/R/library/Rcpp/include/Rcpp/macros/macros.h:36:17: note: in definition of macro ‘BEGIN_RCPP’
static SEXP stop_sym = Rf_install("stop"); \
^~~~~~~~
@romainfrancois @lionel- @kevinushey Any better idea than inserting a fake check or use?
Seems silly to waste cycles on this. Can we add a sentinel function just to fake the compiler?
Metadata
Metadata
Assignees
Labels
No labels