How compile "String inf = static_cast<ostringstream*>(&(ostringstream() << pAct.minArea))->str();"

Otacílio otacilio.neto at bsd.com.br
Wed Nov 9 01:37:46 UTC 2016


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



More information about the freebsd-ports mailing list