[Rcpp-devel] bug hunting

Dirk Eddelbuettel edd at debian.org
Tue Mar 23 16:11:22 CET 2010


On 23 March 2010 at 10:04, Douglas Bates wrote:
| On Tue, Mar 23, 2010 at 8:31 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
| > On 23 March 2010 at 13:16, Romain Francois wrote:
| > | Le 23/03/10 12:49, Dirk Eddelbuettel a écrit :
| > | This one, I'm not sure. Any ideas ?
| >
| > #ifdef protect your DEBUG macro that triggers is?
| 
| Those are the cases where RCPP_DEBUG is being called with a format
| string only.  The message seems to indicate that there should be at
| least one other argument in the ... list, even if it is not used.  I
| got rid of the warnings by appending ", 0" to the format string when
| it appears alone.  I would check in the modified file except that
| emacs has changed the indentation on all the lines that I changed and

Perfect!  I let Emacs re-indent all the time too, and Romain has not yet
beaten me up when I do.  I'd say commit.

| I can't easily recover the original indentation.

That's a feature, not a bug. ;-)

Dirk

-- 
  Registration is open for the 2nd International conference R / Finance 2010
  See http://www.RinFinance.com for details, and see you in Chicago in April!


More information about the Rcpp-devel mailing list