Glib 64bit test failing in MinGW
- From: Ari Jolma <ari jolma tkk fi>
- To: gtk-perl-list gnome org
- Subject: Glib 64bit test failing in MinGW
- Date: Mon, 08 Jun 2009 22:00:09 +0300
MinGW may(*) use msvcrt.dll in which case the MS sscanf and printf are
used, which means PORTABLE_LL_FORMAT can't contain the standard "l" and
must contain "I64".
That makes 64bit tests fail. If
# ifdef __MSVCRT__
is used instead of
# ifdef _MSC_VER
when PORTABLE_LL_FORMAT and PORTABLE_ULL_FORMAT are defined in GType.xs,
then the tests are passed.
See similar problem I reported here: http://trac.osgeo.org/gdal/ticket/2649
How do I submit bug reports related to Perl-Gtk2?
(*) I'm not sure about the exact conditions when msvcrt.dll is used but
I believe if it is used, gcc correctly sets __MSVCRT__
Regards,
Ari
--
Prof. Ari Jolma
Environmental Management Information Technology
Teknillinen Korkeakoulu / Helsinki University of Technology
tel: +358 9 4511 address: POBox 5300, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://geoinformatics.tkk.fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]