I'm trying create a patch to OpenCV 3.1 runs on FreeBSD but clang don't compiles lines like this: String inf = static_cast<ostringstream*>(&(ostringstream() << pAct.minArea))->str(); Can someone give me a hint about how to fix it? []'s -Otacilio