I hope Conrad or the OCC team will fast find a workaround. I also had to go back to VC6 :-((
(hope they fix it!)
Conrad J Poelman
Sorry, I'm out of town this week and am just catching up on my email. I have not yet tried using ImproveCascade on OpenCascade 5.1, so it doesn't surprise me that there are a few issues. Hopefully I'll have some time to work on this next week.
ImproveCascade uses a fairly simple "search and replace" strategy to add "std:::" to certain places, with a number of hard-wired exceptions to not add it where it doesn't belong. It sounds like I need to add an exception for this case, since "TransientManager.hxx" uses "flush" as a local variable name. In the mean time, either renaming the "flush" variable to something else (probably also needed in "TransientManager.cpp") prior to running ImproveCascade, or manually removing the "std::" prefix from the variable name after running ImproveCascade, should get you over this hump.
I'm compiling OC5.1 under VC.NET 2003. Removing "std::" before "flush" in *Transient header files works fine in my case.