Robert Osfield wrote:
> Hi All,
>
> I would like to finish this week with a 2.7.9 dev release, could users
> do a check out of svn/trunk and let know if your build succeeds/or
> where it fails.
>   
With xine-lib-1.1.15 I get:


[ 83%] Building C object
src/osgPlugins/xine/CMakeFiles/osgdb_xine.dir/video_out_rgb.o
/home/melis/c/osg/svn/trunk/src/osgPlugins/xine/video_out_rgb.c: In
function 'rgbout_update_frame_format':
/home/melis/c/osg/svn/trunk/src/osgPlugins/xine/video_out_rgb.c:2385:
warning: 'xine_xmalloc' is deprecated (declared at
/usr/include/xine/xineutils.h:624)
/home/melis/c/osg/svn/trunk/src/osgPlugins/xine/video_out_rgb.c:2388:
warning: 'xine_xmalloc' is deprecated (declared at
/usr/include/xine/xineutils.h:624)
/home/melis/c/osg/svn/trunk/src/osgPlugins/xine/video_out_rgb.c:2391:
warning: 'xine_xmalloc' is deprecated (declared at
/usr/include/xine/xineutils.h:624)
/home/melis/c/osg/svn/trunk/src/osgPlugins/xine/video_out_rgb.c:2397:
warning: 'xine_xmalloc' is deprecated (declared at
/usr/include/xine/xineutils.h:624)

xine_xmalloc() seems to have been deprecated since 1.1.13 with the
following message:

 * The behaviour of this function differs from standard malloc() as
 * xine_xmalloc(0) will not return a NULL pointer, but rather a
 * pointer to a memory area of size 1 byte.
 *
 * The NULL value is only ever returned in case of an error in
 * malloc(), and is reported to stderr stream.
 *
 * @deprecated This function has been deprecated, as the behaviour of
 *             allocating a 1 byte memory area on zero size is almost
 *             never desired, and the function is thus mostly misused.

Are you relying on the 1-byte-allocate-for-size-0 feature in the xine
plugin?

Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to