[Rcpp-devel] Rostream.h header

Alexey Stukalov astukalov at gmail.com
Sat May 12 19:03:39 CEST 2012

Dear Rcpp developers,

ATM to define the Rcpp::Rostream I have to fix the iostream/Rostream.h
header directly and add

#include "Rstreambuf.h"

before its declarations.

Including "Rstreambuf.h" in my source file before "Rstreambuf.h" doesn't
it seems the headers are processed in a way that Rostream declaration comes
before Rstreambuf
(due to RcppCommon.h that is included by Rstreambuf.h and not by

Is it possible to fix Rostream.h in the mainline or there's another proper
way to include it?

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120512/bbff5a78/attachment.html>

More information about the Rcpp-devel mailing list