<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>Recommend patch to modules/demux/live555.cpp</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT FACE="Times New Roman">Compiling on WinXP, Cygwin, C++ 3.4.4, I get the following:</FONT>
</P>

<P><FONT FACE="Times New Roman">In file included from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstring:49,</FONT>
</P>

<P><FONT FACE="Times New Roman">                 from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-min</FONT>

<BR><FONT FACE="Times New Roman">gw32/bits/c++locale.h:42,</FONT>

<BR><FONT FACE="Times New Roman">                 from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iosfwd:46,</FONT>

<BR><FONT FACE="Times New Roman">                 from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ios:44,</FONT>

<BR><FONT FACE="Times New Roman">                 from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ostream:45,</FONT>
</P>

<P><FONT FACE="Times New Roman">                 from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:45</FONT>

<BR><FONT FACE="Times New Roman">,</FONT>

<BR><FONT FACE="Times New Roman">                 from live555.cpp:38:</FONT>

<BR><FONT FACE="Times New Roman">/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstddef:52: error: expected unqua</FONT>

<BR><FONT FACE="Times New Roman">lified-id before "long"</FONT>

<BR><FONT FACE="Times New Roman">/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstddef:52: error: expected `;' b</FONT>

<BR><FONT FACE="Times New Roman">efore "long"</FONT>

<BR><FONT FACE="Times New Roman">/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstddef:52: error: declaration do</FONT>

<BR><FONT FACE="Times New Roman">es not declare anything</FONT>

<BR><FONT FACE="Times New Roman">/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstddef:53: error: expected unqua</FONT>

<BR><FONT FACE="Times New Roman">lified-id before "unsigned"</FONT>

<BR><FONT FACE="Times New Roman">/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstddef:53: error: expected `;' b</FONT>

<BR><FONT FACE="Times New Roman">efore "unsigned"</FONT>
</P>

<P><FONT FACE="Times New Roman">These are the same signs I saw with modules/access/dshow.</FONT>

<BR><FONT FACE="Times New Roman">Apparently size_t and ptrdiff_t conflict with the C++ definitions that get called up in the #include <iostream></FONT>

<BR><FONT FACE="Times New Roman">(live555.cpp line 38)</FONT>
</P>

<P><FONT FACE="Times New Roman">Attached is a patch that I ran on Cygwin, compiles fine.  Could someone please try it on other OS', to make sure it doesn't harm building on them.  If it works OK (causes no harm) for others, I'll commit it.</FONT></P>

<P><FONT FACE="Times New Roman">Thanks.</FONT>
</P>

<P><FONT FACE="Times New Roman">Mark</FONT>
</P>

<P><FONT FACE="Arial" SIZE=2 COLOR="#000000"> <<...>> </FONT>
</P>

</BODY>
</HTML>