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 lot of
>
>     ./RcppCommon.h:205:28: warning: anonymous variadic macros were introduced 
> in C99

We can kill this one with the -Wno-variadic-macros flag

> as well as
>
>     from Promise.cpp:22:
>     ./Rcpp/Vector.h:434:30: warning: ISO C99 requires rest arguments to be 
> used
>     ./Rcpp/Vector.h:441:29: warning: ISO C99 requires rest arguments to be 
> used
>     ./Rcpp/Vector.h:477:26: warning: ISO C99 requires rest arguments to be 
> used
>     ./Rcpp/Vector.h:482:30: warning: ISO C99 requires rest arguments to be 
> used
>     ./Rcpp/Vector.h:496:31: warning: ISO C99 requires rest arguments to be 
> used

This one, I'm not sure. Any ideas ?

> Not toxic, but something we may want to look at. Without -pedantic,
> everything is clean as a whistle.
>
> But most importantly Doug's example now works.
>
> So release 0.7.11 by the end of the week?
>
> Dirk


-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/OIXN : raster images and RImageJ
|- http://tr.im/OcQe : Rcpp 0.7.7
`- http://tr.im/O1wO : highlight 0.1-5

_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to