File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed
Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 1+ 2018-03-31 Dirk Eddelbuettel <edd@debian.org>
2+
3+ * inst/include/Rcpp/sprintf.h (Rcpp): Remove parens [gcc8 warning]
4+
5+ * vignettes/Rcpp-attributes.Rmd: Update link to JSS intro vignette
6+ * vignettes/Rcpp-modules.Rmd: Idem
7+
182018-03-21 Dirk Eddelbuettel <edd@debian.org>
29
310 * DESCRIPTION (Version, Date): Roll minor version
Original file line number Diff line number Diff line change 1010 \item The random number \code {Generator } class no longer inhreits from
1111 \code {RNGScope } (Kevin in \ghpr {837 } fixing \ghit {836 }).
1212 }
13+ \item Changes in Rcpp Documentation :
14+ \itemize {
15+ \item Two internal links to the introduction published in JSS have been
16+ updated to the changed filename given the newer TAS introduction.
17+ }
1318 }
1419}
1520
Original file line number Diff line number Diff line change 22//
33// sprintf.h: Rcpp R/C++ interface class library -- string formatting
44//
5- // Copyright (C) 2010 - 2011 Dirk Eddelbuettel and Romain Francois
5+ // Copyright (C) 2010 - 2018 Dirk Eddelbuettel and Romain Francois
66//
77// This file is part of Rcpp.
88//
2222#include < cstdio>
2323#include < cstdarg>
2424
25- namespace Rcpp {
25+ namespace Rcpp {
2626
2727template <int MAX_SIZE>
2828std::string sprintf ( const char *format, ...) {
2929 static char buffer[MAX_SIZE];
30- va_list (ap) ;
30+ va_list ap ;
3131 va_start (ap, format);
32- vsnprintf ( buffer, MAX_SIZE, format, ap);
32+ vsnprintf (buffer, MAX_SIZE, format, ap);
3333 va_end (ap);
3434 return buffer ;
3535}
You can’t perform that action at this time.
0 commit comments