To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=58332 Issue #:|58332 Summary:|64bit: pyuno Component:|porting Version:|OOo 2.0 Platform:|All URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|jbu Reported by:|pjanik
------- Additional comments from [EMAIL PROTECTED] Wed Nov 23 01:38:00 -0800 2005 ------- Hi, building pyuno on 64bit systems: ../../inc/pyuno/pyuno.hxx: In member function 'int pyuno::PyRef::Hash::operator()(const pyuno::PyRef&) const': ../../inc/pyuno/pyuno.hxx:127: error: cast from 'PyObject*' to 'int' loses precision dmake: Error code 1, while making '../../unxlngx6.pro/slo/pyuno_module.obj' '---* tg_merge.mk *---' dmake: Error code 255, while making 'do_it_noopt' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /data/oo/BuildDir/ooo_SRC680_m142_src/pyuno/source/module So we need this patch for building pyuno on 64bit platforms: --- ooo_SRC680_m138_src.orig/pyuno/inc/pyuno/pyuno.hxx 2005-11-05 19:05:16.000000000 +0100 +++ ooo_SRC680_m138_src/pyuno/inc/pyuno/pyuno.hxx 2005-11-06 16:22:19.000000000 +0100 @@ -124,7 +124,7 @@ struct Hash { - int operator () ( const PyRef &r) const { return (int) r.get(); } + int operator () ( const PyRef &r) const { return (int)(long) r.get(); } }; }; Can you please provide correct change? get() returns pointer and you are converting it into int... --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]