To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58979


User sb changed the following:

                  What    |Old value                 |New value
================================================================================
               Assigned to|sb                        |pmladek
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Mon Dec 12 04:38:58 -0800 
2005 -------
This points to an error in the GCC 4.1 you are using.  The code in question is
(simplified version of lines 534--563 of registry/source/regimpl.cxx 1.20):
  if (a) {
    switch (b) {
    case c:
      return d;
      break;
    default:
      return e;
      break;
   }
  } else {
    if (f) {
      return g;
    } else {
      return h;
    }
  }
The compiler should be able to detect that all branches exit via some explicit
return, so please get the compiler fixed instead of adding the proposed patch. 
(On CWS warnings01, all the---superfluous---break statements have been removed,
see revision 1.19.28.4.  If that change would suppress the warning for GCC 4.1,
I would agree to port that fix to CWS gcc41.)

---------------------------------------------------------------------
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]

Reply via email to