[vlc-devel] Latent error in vlc_common.h?

Mark Moriarty mfmbusiness at earthlink.net
Sun Oct 10 03:59:32 CEST 2004

 I was adding dmalloc support, and during the make it generates the
following error:
then mv -f ".deps/libaccess_file_a-file.Tpo"
".deps/libaccess_file_a-file.Po"; e
lse rm -f ".deps/libaccess_file_a-file.Tpo"; exit 1; fi
In file included from /usr/i686-pc-mingw32/include/fcntl.h:20,
                 from file.c:43:
/usr/i686-pc-mingw32/include/io.h:279: error: conflicting types for
../../include/vlc_common.h:930: error: previous declaration of `vlc_lseek'
make[4]: *** [libaccess_file_a-file.o] Error 1
make[4]: Leaving directory `/home/mfm/vlc-trunk/modules/access'
make[3]: *** [all-modules] Error 1

The lines from vlc_common are:
#ifndef HAVE_LSEEK
#   define lseek vlc_lseek
    VLC_EXPORT( off_t, vlc_lseek, ( int fildes, off_t offset, int whence )
#elif !defined(__PLUGIN__)
#   define vlc_lseek NULL

Line 930 is the VLC_EXPORT

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list