File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 55
66 * R/Attributes.R (.plugins[["openmp"]]): Fix typo in comment
77
8+ * src/attributes.cpp (Rcpp): Use size_t (twice) to suppress nags from g++
9+
8102017-05-16 JJ Allaire <
[email protected] >
911
1012 * R/Attributes.R: Automatically generate native routine registrations.
Original file line number Diff line number Diff line change @@ -1979,7 +1979,7 @@ namespace attributes {
19791979 // generate declarations
19801980 if (declarations.size () > 0 ) {
19811981 ostr () << std::endl;
1982- for (int i = 0 ; i<declarations.size (); i++)
1982+ for (std:: size_t i = 0 ; i<declarations.size (); i++)
19831983 ostr () << declarations[i] << std::endl;
19841984 }
19851985
@@ -1992,7 +1992,7 @@ namespace attributes {
19921992 routineArgs[i] << " }," << std::endl;
19931993 }
19941994 if (callEntries.size () > 0 ) {
1995- for (int i = 0 ; i<callEntries.size (); i++)
1995+ for (std:: size_t i = 0 ; i<callEntries.size (); i++)
19961996 ostr () << callEntries[i] << std::endl;
19971997 }
19981998 ostr () << " {NULL, NULL, 0}" << std::endl;
You can’t perform that action at this time.
0 commit comments