To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=88768 Issue #|88768 Summary|using max in connectivity/source/drivers/ado/AStatemen |t.cxx. Component|Database access Version|DEV300m10 Platform|PC URL| OS/Version|Windows, all Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|none Assigned to|fs Reported by|tono
------- Additional comments from [EMAIL PROTECTED] Sun Apr 27 04:36:54 +0000 2008 ------- A call to max() is used in connectivity/source/drivers/ado/AStatement.cxx. It is defined as a macro in a Microsoft header, but if a boost header is included, it kills the macro definition and defines its template instead. But the template definition interferes the STL template and is harmful with latest versions of VC, the definition is only limited to older versions of VC. Therefore, we should explicitly rely on STL's max/min if a boost header is used. In the module connectivity, a boost header is included in the precompiled header, so we have to specify the use of STL's max. Unless, max is not visible when we use the precompiled header. It does not occur if we use older compiler or we do not use the precompiled header. A patch to fix this follows. --------------------------------------------------------------------- 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]
