To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=82184
------- Additional comments from [EMAIL PROTECTED] Tue Oct 2 15:54:21 +0000 2007 ------- The attached patch (sc-biffdump.cxx) fixes the compilation problem, but has two FIXME's within it, for __AddDec(ByteString&, UINT64) and __AddDec(ByteString&, INT64). These functions are potentially incomplete; they currently just delegate their implementation to 32-bit integer versions of these functions, which is (probably) fine (especially considering that Microsoft Office is currently not a 64-bit program, so actual 64-bit values are less likely). Regardless, the 32-bit integer __AddDec() versions work by using sprintf(3). This is not currently done for the 64-bit integer versions because there is no portable %-size specifier that works across GCC and MSVC. In particular, GCC wants e.g. "%lld", while MSVC wants "%I64d". A possible solution would be to use the PRId64 and PRIu64 macros from <inttypes.h>, but I don't know how portable <inttypes.h> is (it's part of C99, and as far as I know MSVC doesn't support C99 yet). Does SAL have an equivalent set of macros that could be used? --------------------------------------------------------------------- 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]