[udk-issues] [Issue 58979] gcc-4.1: registry: warnin g: control reaches end of non-void function

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





--- Additional comments from [EMAIL PROTECTED] Mon Dec 19 06:09:24 -0800 
2005 ---
OK, you are right. I have reported a bug for gcc at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25390

Good to know about the CWS warning01. I'll look at it later.

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



[udk-issues] [Issue 58979] gcc-4.1: registry: warnin g: control reaches end of non-void function

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


User kr changed the following:

  What|Old value |New value

   Assigned to|kr|sb





--- Additional comments from [EMAIL PROTECTED] Mon Dec 12 02:34:54 -0800 
2005 ---
Stephan, you probably already stumbled over this anyway, don't you?


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



[udk-issues] [Issue 58979] gcc-4.1: registry: warnin g: control reaches end of non-void function

2005-12-12 Thread sb
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]



[udk-issues] [Issue 58979] gcc-4.1: registry: warnin g: control reaches end of non-void function

2005-12-12 Thread sb
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

Status|NEW   |RESOLVED

Resolution|  |INVALID





--- Additional comments from [EMAIL PROTECTED] Mon Dec 12 04:42:41 -0800 
2005 ---
.

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



[udk-issues] [Issue 58979] gcc-4.1: registry: warnin g: control reaches end of non-void function

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


User pmladek changed the following:

  What|Old value |New value

   Attachment is patch|  |Created an attachment
  |  |(id=32144) The proposed
  |  |fix.





--- Additional comments from [EMAIL PROTECTED] Tue Dec  6 10:20:33 -0800 
2005 ---
Created an attachment (id=32144)
The proposed 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]