We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fd632e commit 1ddbc9fCopy full SHA for 1ddbc9f
inst/include/Rcpp/exceptions.h
@@ -108,9 +108,9 @@ namespace Rcpp {
108
109
// Variadic / code generated version of the warning and stop functions
110
// can be found within the respective C++11 or C++98 exceptions.h
111
- // included below
+ // included below.
112
inline void warning(const std::string& message) { // #nocov start
113
- Rf_warning(message.c_str());
+ ::Rf_warning("%s", message.c_str());
114
} // #nocov end
115
116
inline void NORET stop(const std::string& message) { // #nocov start
0 commit comments