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
help,
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
Rostream.h).

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

Thank you,
   Alexey
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to