[vlc-devel] Recommend patch to modules/demux/live555.cpp

Mark Moriarty mfmbusiness at earthlink.net
Mon Apr 16 04:20:57 CEST 2007


Compiling on WinXP, Cygwin, C++ 3.4.4, I get the following:

In file included from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstring:49,

                 from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-min
gw32/bits/c++locale.h:42,
                 from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iosfwd:46,
                 from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ios:44,
                 from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ostream:45,

                 from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:45
,
                 from live555.cpp:38:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstddef:52: error: expected
unqua
lified-id before "long"
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstddef:52: error: expected
`;' b
efore "long"
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstddef:52: error:
declaration do
es not declare anything
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstddef:53: error: expected
unqua
lified-id before "unsigned"
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstddef:53: error: expected
`;' b
efore "unsigned"

These are the same signs I saw with modules/access/dshow.
Apparently size_t and ptrdiff_t conflict with the C++ definitions that get
called up in the #include <iostream>
(live555.cpp line 38)

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.

Thanks.

Mark

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070415/5ff2ef4f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: live555.diff
Type: application/octet-stream
Size: 747 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070415/5ff2ef4f/attachment.obj>


More information about the vlc-devel mailing list