[Matroska-devel] Re: Gentoo

Peter Niemayer niemayer at isg.de
Tue Jan 20 12:03:02 CET 2004


Steve Lhomme wrote:

>>> Apparently it compiles on AMD64 systems. Dunno if it works.
>>
>> It does work, though there are a number of warnings, most of which
>> are not too scary, %d vs. %ld vs. %lld stuff in "prints" and alike.
> 
> Any log of the compilation would be appreciated (hopefully with the 
> latest CVS version).

In the latest libebml-0.64/libmatroska-0.6.3 sources it seems only
one problem is still present:

g++ -c  -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -I/data/home/niemayer/inst/libebml-0.6.4/make/linux/
../.. -o /data/home/niemayer/inst/libebml-0.6.4/make/linux/../../src/EbmlContexts.o /data/home/niemayer/inst/libebml-0.6
.4/make/linux/../../src/EbmlContexts.cpp
In file included from /data/home/niemayer/inst/libebml-0.6.4/src/EbmlContexts.cpp:39:
/data/home/niemayer/inst/libebml-0.6.4/ebml/EbmlCrc32.h: In function `bool
    libebml::IsAlignedOn(const void*, unsigned int)':
/data/home/niemayer/inst/libebml-0.6.4/ebml/EbmlCrc32.h:148: warning: cast from
    pointer to integer of different size
/data/home/niemayer/inst/libebml-0.6.4/ebml/EbmlCrc32.h:148: warning: cast from
    pointer to integer of different size

A sizeof(const void *) is 8 on x86_64, while sizeof(unsigned int) == 4.


Cheers,

Peter Niemayer





More information about the Matroska-devel mailing list