bug : couts in OCC

Hi,

please, can the OCC dev team remove all the couts from the code ?
I'm facing the one in ShapeProcess_Context::LoadResourceManager

It is partically anoying in console applications.
It is really not a complicated task. just find all the cout in the code and comment them out (grep is your friend :-) )
Thanks,

Stephane Routelous
http://www.exotk.org

Stephane Routelous's picture

BTW, for those interessed, here is a way to bypass it:
I'm not 100% sure it is safe, but it seams to work.

#include

std::streambuf* oldcoutbuf = std::cout.rdbuf();
std::cout.rdbuf(NULL);
OCCCodeProducingAnnoyingCouts();
std::cout.rdbuf(oldcoutbuf);

HTH,

Stephane
http://www.exotk.org