To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=58141 Issue #:|58141 Summary:|build fails with gcc4.1 error: extra qualification on |member Component:|porting Version:|680m140 Platform:|Sun URL:| OS/Version:|Linux Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|mh Reported by:|sparcmoz
------- Additional comments from [EMAIL PROTECTED] Fri Nov 18 13:56:39 -0800 2005 ------- Errors in libwpd and autodoc building GNU/Linux sparc m140 with gcc-4.1 there may be more to come as the build proceeds... /home/jim/ooo680/libwpd/unxlngs.pro/misc/build/libwpd-0.8.3/src/lib/WPXHLListener.h:165: error: extra qualification 'WPXHLListener::' on member 'WPXHLListener' This is the code: class WPXHLListener : public WPXLLListener { public: WPXHLListener(std::vector<WPXPageSpan *> *pageList, WPXHLListenerImpl *listenerImpl); WPXHLListener::~WPXHLListener(); <--- line 165 Remove WPXHLListener:: from line 165 and it builds ok: I build gcc from HEAD [EMAIL PROTECTED]:~/ooo680/libwpd$ $CXX --version g++ (GCC) 4.1.0 20051026 (experimental) Copyright (C) 2005 Free Software Foundation, Inc. I wonder are these changes really needed or could be some compiler flag I should be using in solenv/inc/unxlngs.mk ? Anyway the patches attached allow building. --------------------------------------------------------------------- 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]