Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | sfx2 fails to compile under gcc 3.3 | ||||||
---|---|---|---|---|---|---|---|
Product: | Build Tools | Reporter: | foskey | ||||
Component: | code | Assignee: | mmeeks <mmeeks> | ||||
Status: | CLOSED FIXED | QA Contact: | issues@tools <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues, kendy | ||||
Version: | 680m65 | ||||||
Target Milestone: | OOo 2.0 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | PATCH | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Issue Depends on: | |||||||
Issue Blocks: | 42382 | ||||||
Attachments: |
|
Description
foskey
2004-12-06 16:18:15 UTC
What version you try to build? 'Current' isn't very specific confirmed on 680m65 Created attachment 20203 [details]
Fix for this issue.
committed to cws mmeeks02 (since no-one seems to be committing it). . AS->mmeeks: You fixed it .. you should be the owner of this task .-) . /data2/office/sfx2/source/toolbox/tbxitem.cxx: In function `svt::ToolboxController* SfxToolBoxControllerFactory(const com::sun::star::uno::Reference<com::sun::star::frame::XFrame>&, ToolBox*, short unsigned int, const rtl::OUString&)': /data2/office/sfx2/source/toolbox/tbxitem.cxx:256: warning: cast to pointer from integer of different size /data2/office/sfx2/source/toolbox/tbxitem.cxx: In member function `virtual voidSfxToolBoxControl::statusChanged(const com::sun::star::frame::FeatureStateEvent&)': /data2/office/sfx2/source/toolbox/tbxitem.cxx:548: warning: cast to pointer from integer of different size /data2/office/sfx2/source/toolbox/tbxitem.cxx: In member function `virtual voidSfxFrameStatusListener::statusChanged(const com::sun::star::frame::FeatureStateEvent&)': /data2/office/sfx2/source/toolbox/tbxitem.cxx:1171: warning: cast to pointer from integer of different size /data2/office/sfx2/source/toolbox/tbxitem.cxx: In member function `long int SfxAppToolBoxControl_Impl::Activate(Menu*)': /data2/office/sfx2/source/toolbox/tbxitem.cxx:1851: error: no matching functionfor call to `SvFileInformationManager::GetImage(String&, int, BOOL&)' /data2/office/solver/680/unxlngi4.pro/inc/svtools/imagemgr.hxx:114: error: candidates are: static Image SvFileInformationManager::GetImage(const INetURLObject&, unsigned char) /data2/office/solver/680/unxlngi4.pro/inc/svtools/imagemgr.hxx:120: error: static Image SvFileInformationManager::GetImage(const INetURLObject&, unsigned char, unsigned char) Note the error about int. waratah, this is not a breakage caused by my fix, is it? If not, you should consider opening a new issue for it, as the original problem was really fixed. Ken - this is most odd; we are building successfully here with gcc-3.3.3 - and indeed, the above fix fixes the build for us; and the bug you initially mention. You have a different bug [ that is rather odd given our success ] - can you re-file that elsewhere so this cws can get nominated, such that 3.3.3 users can build :-) To identify the code base for this fix, I change the 'target milestone' to OOo 2.0. gcc 3.3 can build head now. |