To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75503
Issue #|75503
Summary|WAE w32 MSVC: so3/source/ole
Component|porting
Version|680m205
Platform|All
URL|
OS/Version|Windows, all
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|code
Assigned to|mh
Reported by|tono
------- Additional comments from [EMAIL PROTECTED] Sun Mar 18 07:35:42 +0000
2007 -------
Compilation of helpers.obj and socont.obj will cause C4005 warnings because
now ARRAYSIZE macro is defined in winnt.h system header.
--- ooo_src680_m205/so3/source/ole/helpers.cxx.orig 2006-10-12
19:59:22.000000000 +0900
+++ ooo_src680_m205/so3/source/ole/helpers.cxx 2007-01-07 10:37:30.000000000
+0900
@@ -43,7 +43,9 @@
#include <systools/win32/snprintf.h>
#endif
+#ifndef ARRAYSIZE
#define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))
+#endif
static BOOL GetFileTimes(LPTSTR pszFileName, FILETIME *pft);
--- ooo_src680_m205/so3/source/ole/socont.cxx.orig 2006-10-12
19:59:48.000000000 +0900
+++ ooo_src680_m205/so3/source/ole/socont.cxx 2007-01-07 10:40:18.000000000
+0900
@@ -48,7 +48,9 @@
#define MAP_PIX_TO_LOGHIM(x,ppli) MulDiv(HIMETRIC_PER_INCH, (x), (ppli))
#define MAP_LOGHIM_TO_PIX(x,ppli) MulDiv((ppli), (x), HIMETRIC_PER_INCH)
+#ifndef ARRAYSIZE
#define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))
+#endif
void SO_MetricRectInPixelsToHimetric( LPRECT prcPix, LPRECT prcHiMetric)
{
---------------------------------------------------------------------
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]