Prof Brian Ripley a écrit :

> You can always link in a wrapper that defined printf and passes the 
> arguments to Rprintf.

I apologize but confess i didn't completely understand
this suggestion.

> It's documented in 'Writing R Extensions'.
>   The defines used for compatibility with @Sl{} sometimes causes
>   conflicts (notably with Windows headers), and the known
>   problematic defines can be removed by defining @code{STRICT_R_HEADERS}.

Yes, i added
#define STRICT_R_HEADERS
in my cpp code, and the redefinition warning vanishes indeed.

Many thanks for your precise tips and my apologies for the late answer.

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to