-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thank you, it compiles now.
Emmanuel

Tommi Mäkitalo a écrit :
> On Donnerstag, 29. Oktober 2009 10:34:45 Emmanuel Engelhart wrote:
>> Hi,
>>
>> compiling the zimlib with --with-cxxtols=no and removing in configure.in
>> the necessary to compile only the libzim (and not the zimDump and the
>> tests) I get this error:
>>
>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -g -O2 -MT
>> uuid.lo -MD -MP -MF .deps/uuid.Tpo -c uuid.cpp  -fPIC -DPIC -o .libs/uuid.o
>> uuid.cpp: In static member function ‘static zim::Uuid
>> zim::Uuid::generate()’:
>> uuid.cpp:80: erreur: cast from ‘zim::Uuid*’ to ‘int32_t’ loses precision
>>
>> Is there something wrong?
>>
>> Regards
>> Emmanuel
>> _______________________________________________
>> dev-l mailing list
>> [email protected]
>> https://intern.openzim.org/mailman/listinfo/dev-l
> Hi,
> 
> that is a little bit strange. But only a little. I just try to create a 
> unique 
> identifier by casting a pointer to int32_t. I changed that by using a union 
> instead. It should work now.
> 
> Tommi

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrqmmEACgkQn3IpJRpNWtMjDwCeOH3EDbADNEpQZuR8gfn2aSLn
woQAnjJvMV6m7sp40Z33kGawpFI+w3ow
=OuPy
-----END PGP SIGNATURE-----
_______________________________________________
dev-l mailing list
[email protected]
https://intern.openzim.org/mailman/listinfo/dev-l

Reply via email to