How compile "String inf = static_cast<ostringstream*>(&(ostringstream() << pAct.minArea))->str();"
Patrick Hess
patrick_lists at phess.net
Mon Nov 14 09:08:07 UTC 2016
On 09.11.2016 02:37, Otacílio wrote:
> 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();
You need to provide us with the *exact* error message from clang.
By the way, that line is the text-book definition of code horror,
but that's a different story.
Patrick
--
If you'd like to send me a private message, make sure to remove
the "_lists" part from my address.
More information about the freebsd-ports
mailing list