[Live-devel] WinCE compilation
Ross Finlayson
finlayson at live.com
Tue Jul 13 10:57:45 PDT 2004
>>Thanks for contributing this. I have now updated the released code
>>(2004.07.06) with your patch. Please download it and check whether it
>>still compiles and works OK for you.
>
>I tryed and it compiles.
>However, in some places some try/catch are used. Under winCE 2002,
>exceptions are not available. In means that the catch will be inoperant.
Currently, C++ language exceptions are used in the stream parsing code
(which is used for parsing things like MPEG headers), to deal with the
(exceptional) situation where the parser runs into the end of the input
buffer (and so new data needs to be read from the input source).
I'd love to be able to get rid of the use of C++ exceptions here (because
you're not the only person to have tried using a C++ SDK in which
exceptions aren't available), but right now I don't see any way of doing
this without turning "StreamParser.hh" (and much of "StreamParser.cpp")
into a hideous mess of macros.
More information about the live-devel
mailing list