Re: [Rcpp-devel] bug hunting

2010-03-23 Thread Davor Cubranic
On 2010-03-23, at 12:03 PM, Dirk Eddelbuettel wrote: > On 23 March 2010 at 13:36, Douglas Bates wrote: > | I have C++ mode in emacs configured so that certain keystrokes indent > | lines and, for me, the indentation step is four. I believe that > | multiple indents are expressed as tabs but I'm n

Re: [Rcpp-devel] bug hunting

2010-03-23 Thread Dirk Eddelbuettel
On 23 March 2010 at 19:29, Romain Francois wrote: | For future reference, I don't mind if you reindent the code to suit | emacs, I'm used to Dirk doing it. | | Does that mean I should use "soft tabs" (emulated with spaces) ? I got quite used to just specififying in the header: // -*- mode:

Re: [Rcpp-devel] bug hunting

2010-03-23 Thread Douglas Bates
On Tue, Mar 23, 2010 at 1:29 PM, Romain Francois wrote: > Le 23/03/10 16:04, Douglas Bates a écrit : >> >> On Tue, Mar 23, 2010 at 8:31 AM, Dirk Eddelbuettel  wrote: >>> >>> On 23 March 2010 at 13:16, Romain Francois wrote: >>> | Le 23/03/10 12:49, Dirk Eddelbuettel a écrit : >>> |> >>> |>  FYI, f

Re: [Rcpp-devel] bug hunting

2010-03-23 Thread Romain Francois
Le 23/03/10 16:04, Douglas Bates a écrit : > > On Tue, Mar 23, 2010 at 8:31 AM, Dirk Eddelbuettel wrote: >> >> On 23 March 2010 at 13:16, Romain Francois wrote: >> | Le 23/03/10 12:49, Dirk Eddelbuettel a écrit : >> |> >> |> FYI, following Doug's lead re '-pedantic', I made that permanent for me

Re: [Rcpp-devel] bug hunting

2010-03-23 Thread Dirk Eddelbuettel
On 23 March 2010 at 10:04, Douglas Bates wrote: | On Tue, Mar 23, 2010 at 8:31 AM, Dirk Eddelbuettel 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

Re: [Rcpp-devel] bug hunting

2010-03-23 Thread Douglas Bates
On Tue, Mar 23, 2010 at 8:31 AM, Dirk Eddelbuettel wrote: > > On 23 March 2010 at 13:16, Romain Francois wrote: > | Le 23/03/10 12:49, Dirk Eddelbuettel a écrit : > | > > | > FYI, following Doug's lead re '-pedantic', I made that permanent for me > via > | > > | >     e...@ron:~$ grep pedantic .R

Re: [Rcpp-devel] bug hunting

2010-03-23 Thread Dirk Eddelbuettel
On 23 March 2010 at 12:48, Romain Francois wrote: | > Nice one! Good work. | | I have not yet added regression tests for it. volunteers ? rev 939 has one which I just wrote on the short train ride. Dirk -- Registration is open for the 2nd International conference R / Finance 2010 See http

Re: [Rcpp-devel] bug hunting

2010-03-23 Thread Dirk Eddelbuettel
On 23 March 2010 at 13:16, Romain Francois wrote: | Le 23/03/10 12:49, Dirk Eddelbuettel a écrit : | > | > FYI, following Doug's lead re '-pedantic', I made that permanent for me via | > | > e...@ron:~$ grep pedantic .R/* | > .R/Makevars:CFLAGS=-g -O3 -Wall -pipe -pedantic | > .R/Makev

Re: [Rcpp-devel] bug hunting

2010-03-23 Thread Romain Francois
Le 23/03/10 12:49, Dirk Eddelbuettel a écrit : > > FYI, following Doug's lead re '-pedantic', I made that permanent for me via > > e...@ron:~$ grep pedantic .R/* > .R/Makevars:CFLAGS=-g -O3 -Wall -pipe -pedantic > .R/Makevars:CXXFLAGS=-g -O3 -Wall -pipe -pedantic > > which now reveals a

Re: [Rcpp-devel] bug hunting

2010-03-23 Thread Dirk Eddelbuettel
FYI, following Doug's lead re '-pedantic', I made that permanent for me via e...@ron:~$ grep pedantic .R/* .R/Makevars:CFLAGS=-g -O3 -Wall -pipe -pedantic .R/Makevars:CXXFLAGS=-g -O3 -Wall -pipe -pedantic which now reveals a lot of ./RcppCommon.h:205:28: warning: anonymous variadic

Re: [Rcpp-devel] bug hunting

2010-03-23 Thread Romain Francois
Le 23/03/10 12:34, Dirk Eddelbuettel a écrit : > > On 23 March 2010 at 11:14, Romain Francois wrote: > | I think the bug reported by Doug in the "Extract a function from a list > | and create a call" thread is now fixed. > | > | The problem was Vector did not have copy constructor and assignement >

Re: [Rcpp-devel] bug hunting

2010-03-23 Thread Dirk Eddelbuettel
On 23 March 2010 at 11:14, Romain Francois wrote: | I think the bug reported by Doug in the "Extract a function from a list | and create a call" thread is now fixed. | | The problem was Vector did not have copy constructor and assignement | operators, so the compiler did generate silly ones for