[udk-issues] [Issue 72225] Any.hxx operator>>= warnin gs on "foo may be uninitialized"

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





--- Additional comments from [EMAIL PROTECTED] Fri Dec 22 01:30:40 -0800 
2006 ---
[With respect to Kay's statement]
Any's >>= operator has been defined to not alter the right-side value if
extraction fails; it's boolean return value signals whether extraction has been
successful.


-
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 72225] Any.hxx operator>>= warnin gs on "foo may be uninitialized"

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


User sb changed the following:

What|Old value |New value

  Status|RESOLVED  |CLOSED





--- Additional comments from [EMAIL PROTECTED] Fri Dec 22 00:47:32 -0800 
2006 ---
.

-
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 72225] Any.hxx operator>>= warnin gs on "foo may be uninitialized"

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


User sb changed the following:

What|Old value |New value

  Status|REOPENED  |RESOLVED

  Resolution|  |INVALID





--- Additional comments from [EMAIL PROTECTED] Fri Dec 22 00:46:09 -0800 
2006 ---
@kr:  You are right, the patch is bad.  :(

Removed from CWS sb67 again.

-
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 72225] Any.hxx operator>>= warnin gs on "foo may be uninitialized"

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


User kr changed the following:

What|Old value |New value

  Status|VERIFIED  |REOPENED

  Resolution|FIXED |





--- Additional comments from [EMAIL PROTECTED] Thu Dec 21 08:02:07 -0800 
2006 ---
After some thoughts I would like to re-open this. Basically I have the feeling,
that changing operands in case of an error/mismatch is wrong, because any
original value would be overwritten. 

E.g. 
  ...

  sal_Bool myBool = sal_True;
  any >>= myBool;  // Any is sometimes empty

  // default, if any is empty
  if(myBool)
  {
...

 would break ...


-
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 72225] Any.hxx operator>>= warnin gs on "foo may be uninitialized"

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


User kr changed the following:

What|Old value |New value

  Status|RESOLVED  |VERIFIED





--- Additional comments from [EMAIL PROTECTED] Wed Dec 20 09:17:19 -0800 
2006 ---
Verified.


-
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 72225] Any.hxx operator>>= warnin gs on "foo may be uninitialized"

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


User sb changed the following:

What|Old value |New value

 Assigned to|sb|kr





--- Additional comments from [EMAIL PROTECTED] Fri Dec 15 00:53:11 -0800 
2006 ---
@kr:  Please verify.

-
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 72225] Any.hxx operator>>= warnin gs on "foo may be uninitialized"

2006-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=72225


User sb changed the following:

What|Old value |New value

  Status|STARTED   |RESOLVED

  Resolution|  |FIXED





--- Additional comments from [EMAIL PROTECTED] Tue Dec 12 07:32:58 -0800 
2006 ---
patch applied

-
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 72225] Any.hxx operator>>= warnin gs on "foo may be uninitialized"

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


User pjanik changed the following:

What|Old value |New value

  CC|'sb'  |'pjanik,sb'





-
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 72225] Any.hxx operator>>= warnin gs on "foo may be uninitialized"

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


User sb changed the following:

What|Old value |New value

  Status|NEW   |STARTED





--- Additional comments from [EMAIL PROTECTED] Mon Dec  4 05:19:42 -0800 
2006 ---
.

-
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 72225] Any.hxx operator>>= warnin gs on "foo may be uninitialized"

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


User sb changed the following:

What|Old value |New value

 Assigned to|kr|sb

Target milestone|---   |OOo 2.2





--- Additional comments from [EMAIL PROTECTED] Mon Dec  4 05:18:52 -0800 
2006 ---
Hard to tell whether on OOE680m6 you only found places that have already been
addressed (on SRC680, open CWSs, or open patches).

Anyway, thinking about it, your patch is superior to the other way of addressing
the problem and also prevents future occurrences of the problem.  So, I will
incorporate it.  (Afterwards, we could scan the code base for then-obsolete "=
0", "= false", "= T()" etc. in code like "T t = T(); a >>= t;"...)

-
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 72225] Any.hxx operator>>= warnin gs on "foo may be uninitialized"

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





--- Additional comments from [EMAIL PROTECTED] Mon Dec  4 04:56:43 -0800 
2006 ---
OOE680_m6

-
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 72225] Any.hxx operator>>= warnin gs on "foo may be uninitialized"

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





--- Additional comments from [EMAIL PROTECTED] Mon Dec  4 04:50:03 -0800 
2006 ---
@cmc:  Meanwhile, this has been fixed at many (most? all?) call-sides by
changing code like

  T t;
  a >>= t;

to

  T t = T();
  a >>= t;

While your patch is more elegant in a way, I doubt that we still need it on
recent code lines (SRC680m195? there might also be some of those changes not yet
integrated).  On what code line did you encounter problems?

-
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 72225] Any.hxx operator>>= warnin gs on "foo may be uninitialized"

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


User cmc changed the following:

What|Old value |New value

 Attachment is patch|  |Created an attachment (id=
|  |41090)
suggested patch






--- Additional comments from [EMAIL PROTECTED] Sun Dec  3 09:17:21 -0800 
2006 ---
Created an attachment (id=41090)
suggested patch


-
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 72225] Any.hxx operator>>= warnin gs on "foo may be uninitialized"

2006-12-03 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72225
 Issue #|72225
 Summary|Any.hxx operator>>= warnings on "foo may be uninitiali
|zed"
   Component|udk
 Version|OOo 2.1
Platform|All
 URL|
  OS/Version|Linux
  Status|NEW
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|PATCH
Priority|P3
Subcomponent|code
 Assigned to|kr
 Reported by|cmc





--- Additional comments from [EMAIL PROTECTED] Sun Dec  3 09:17:02 -0800 
2006 ---
I know this was discussed at one stage, but I can't remember the outcome, so
feel free to throw out this patch if doing this was dismissed at the time.

But there's a good few spurious "foo may be uninitalized" from gcc which this
simple patch to set the value on the error path from the Any assignment patch to
0 removes

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