To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=77337
Issue #|77337
Summary|sdbc-postgresql fails to build with gcc 4
Component|Database access
Version|OOo 2.2.1 RC1
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|none
Assigned to|jbu
Reported by|rene
------- Additional comments from [EMAIL PROTECTED] Mon May 14 09:15:35 +0000
2007 -------
Hi,
sdbc-postgresql needs the following patch to build with newer gccs, as they
otherwise complain about "double qualification":
--- pq_updateableresultset.hxx 9 May 2004 19:47:18 -0000 1.1.2.1
+++ pq_updateableresultset.hxx 10 May 2007 14:05:09 -0000
@@ -50,7 +50,8 @@
{
}
- rtl::OUString UpdateableResultSet::buildWhereClause();
+ //rtl::OUString UpdateableResultSet::buildWhereClause();
+ rtl::OUString buildWhereClause();
void checkUpdate( sal_Int32 column );
public:
I also needed the following patch of which I am not completely sure, though.
Maybe it got obsolete with newer gccs? Maybe with newer STLports?
(I use 5.1). Without it it didn't build; I can try it again and give you the
exact error message if you wish.
--- pq_allocator.hxx 20 Oct 2003 20:25:11 -0000 1.1.2.1
+++ pq_allocator.hxx 10 May 2007 14:05:09 -0000
@@ -204,7 +204,7 @@
/* REQUIRED BY STLPort (see stlport '_alloc.h'):
Hack for compilers that do not support member
template classes (e.g. MSVC 6) */
-namespace _STL
+/*namespace _STL
{
template<class T, class U>
inline pq_sdbc_driver::Allocator<U> & __stl_alloc_rebind (
@@ -213,5 +213,6 @@
return (pq_sdbc_driver::Allocator<U>&)(a);
}
}
+*/
#endif /* INCLUDED_SAL_INTERNAL_ALLOCATOR_HXX */
Regards,
Rene
---------------------------------------------------------------------
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]