[porting-issues] [Issue 107473] [nonproduct] sal: osl::De bugBase uses static_cast in invalid way
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=107473 --- Additional comments from t...@openoffice.org Mon Jan 10 20:50:46 + 2011 --- *** Issue 103788 has been marked as a duplicate of this issue. *** - 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: issues-unsubscr...@porting.openoffice.org For additional commands, e-mail: issues-h...@porting.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[porting-issues] [Issue 107473] [nonproduct] sal: osl::De bugBase uses static_cast in invalid way
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=107473 User dtardon changed the following: What|Old value |New value Status|VERIFIED |CLOSED --- Additional comments from dtar...@openoffice.org Wed Mar 10 07:19:00 + 2010 --- integrated in DEV300_m74 - 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: issues-unsubscr...@porting.openoffice.org For additional commands, e-mail: issues-h...@porting.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[porting-issues] [Issue 107473] [nonproduct] sal: osl::De bugBase uses static_cast in invalid way
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=107473 User sb changed the following: What|Old value |New value Status|RESOLVED |VERIFIED --- Additional comments from s...@openoffice.org Mon Feb 8 10:09:42 + 2010 --- . - 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: issues-unsubscr...@porting.openoffice.org For additional commands, e-mail: issues-h...@porting.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[porting-issues] [Issue 107473] [nonproduct] sal: osl::De bugBase uses static_cast in invalid way
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=107473 User sb changed the following: What|Old value |New value Status|STARTED |RESOLVED Resolution| |FIXED --- Additional comments from s...@openoffice.org Fri Jan 29 11:58:13 + 2010 --- applied attached sal.simplify-debugbase-interface.patch as http://hg.services.openoffice.org/cws/sb119/rev/6bddd5062935 - 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: issues-unsubscr...@porting.openoffice.org For additional commands, e-mail: issues-h...@porting.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[porting-issues] [Issue 107473] [nonproduct] sal: osl::De bugBase uses static_cast in invalid way
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=107473 User sb changed the following: What|Old value |New value Ever confirmed| |1 Status|UNCONFIRMED |STARTED Target milestone|--- |OOo 3.3 --- Additional comments from s...@openoffice.org Fri Dec 11 08:10:28 + 2009 --- . - 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: issues-unsubscr...@porting.openoffice.org For additional commands, e-mail: issues-h...@porting.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[porting-issues] [Issue 107473] [nonproduct] sal: osl::De bugBase uses static_cast in invalid way
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=107473 Issue #|107473 Summary|[nonproduct] sal: osl::DebugBase uses static_cast in i |nvalid way Component|porting Version|DEV300m66 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|sb Reported by|dtardon --- Additional comments from dtar...@openoffice.org Sun Dec 6 13:43:39 + 2009 --- Nonproduct build fails in testtools with the following message: In file included from /home/dtardon/work/upstream/openoffice.org/nonproduct/testtools/source/bridgetest/cppobj.cxx:38: /home/dtardon/work/upstream/openoffice.org/nonproduct/solver/300/unxlngx6/inc/osl/diagnose.hxx: In constructor 'osl::DebugBaseInheritingClassT::DebugBase() [with InheritingClassT = bridge_object::Test_Impl]': /home/dtardon/work/upstream/openoffice.org/nonproduct/testtools/source/bridgetest/cppobj.cxx:162: instantiated from here /home/dtardon/work/upstream/openoffice.org/nonproduct/solver/300/unxlngx6/inc/osl/diagnose.hxx:194: error: 'osl::DebugBasebridge_object::Test_Impl' is an inaccessible base of 'bridge_object::Test_Impl' The problem is that bridge_object::Test_Impl inherits protectedly from osl::DebugBase, which makes osl::DebugBase an inaccessible base class of it, therefore static_cast cannot be used (From ISO C++ Standard, 5.2.9, par. 2: An expression e can be explicitly converted to a type T using static_cast of the form static_castT(e) if the declaration T t(e); is well formed for some invented temporary variable t (8.5).). Because non-public derivation of osl::DebugBase is plainly the indended way of using it, the implementation must be changed to avoid the problematic static_casts. In the current implementation a pointer is used just for representation of its address and is never dereferenced, therefore I think the best way is to use plain void const* in the osl::DebugBase interface, like the following patch does. - 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: issues-unsubscr...@porting.openoffice.org For additional commands, e-mail: issues-h...@porting.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[porting-issues] [Issue 107473] [nonproduct] sal: osl::De bugBase uses static_cast in invalid way
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=107473 User dtardon changed the following: What|Old value |New value Attachment is patch| |Created an attachment (id= | |66517) fix --- Additional comments from dtar...@openoffice.org Sun Dec 6 13:44:33 + 2009 --- Created an attachment (id=66517) fix - 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: issues-unsubscr...@porting.openoffice.org For additional commands, e-mail: issues-h...@porting.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org