Skip to content

Deprecation warnings on g++ 7.1.0 at MacOS 10.12.4 #689

@alexcpsec

Description

@alexcpsec

Not a big deal, everything working as intended, but you may want to look at these warnings when building code with Rcpp using g++ 7.1.0

In file included from /Library/Frameworks/R.framework/Versions/3.3/Resources/library/Rcpp/include/Rcpp/Module.h:338:0,
                 from /Library/Frameworks/R.framework/Versions/3.3/Resources/library/Rcpp/include/Rcpp.h:64,
                 from osutil.cpp:1:
/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Rcpp/include/Rcpp/module/Module_Property.h:103:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     void set(Class* object, SEXP value) throw(std::range_error,Rcpp::not_compatible){
                                         ^~~~~
/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Rcpp/include/Rcpp/module/Module_Property.h:161:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     void set(Class* object, SEXP value) throw(std::range_error,Rcpp::not_compatible){
                                         ^~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions