To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58967
Issue #:|58967
Summary:|gcc-4.1: extra qualification
Component:|porting
Version:|680m142
Platform:|PC
URL:|
OS/Version:|Linux
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|PATCH
Priority:|P3
Subcomponent:|code
Assigned to:|mh
Reported by:|pmladek
------- Additional comments from [EMAIL PROTECTED] Tue Dec 6 08:46:29 -0800
2005 -------
gcc-4.1 does not longer allow to explicitely repeate the class name in the
declaration of its methods. For example:
class A
{
A::A(); // FALSE: this declaration is no longer allowed
A(); // OK: valid declaration
void A::func(); // FALSE: this declaration is no longer allowed
void func(); // OK: valid declaration
};
Background:
gcc accepted some non-standard constructs in the past. The result was that the
code developed with gcc was not enough portable. Each new version of gcc fixes
some of this problems. gcc-4.1 fixes this one.
The error message looks like:
--- cut ---
/usr/src/packages/BUILD/ooo-build-src680.139.3/build/src680-m139/solver/680/unxlngi6.pro/inc/com/sun/star/sdbc/XBlob.hdl:38:
warning: ‘class com::sun::star::sdbc::XBlob’ has virtual functions but
non-virtual destructor
/usr/src/packages/BUILD/ooo-build-src680.139.3/build/src680-m139/so3/source/persist/transprt.cxx:1336:
error: extra qualification ‘UcbTransport_Impl::’ on member ‘getCallback_Impl’
--- cut ---
I'll attach patches that fixes this problem. Note that they do not fix the
entire OOo sources. I do not build some external project because I use internal
libraries instead. The patches for the project binfilter will be attached in the
separate issue #58937.
I also opened the CWS gcc41 and will commit the patches there.
---------------------------------------------------------------------
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]