To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=95379
                 Issue #|95379
                 Summary|tools: ambiguous operator precedence
               Component|utilities
                 Version|DEV300m34
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|cd
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Thu Oct 23 15:02:06 +0000 
2008 -------
So, my recent gcc has some extra warnings about dodgy looking implicit operator
precedence.

The following patch just enforces the current implicit operator precedence, i.e.
<< before & before | before && before || so it changes nothing except to make
those warnings go away.

It all looks ok except maybe for source/fsys/urlobj.cxx where we have...
while (p != pEnd && INetMIME::isHexDigit(*p) || *p == ':' || *p == '.')
where a && b || c || d is effectively (((a && b) || c) || d) i.e.
while ((p != pEnd && INetMIME::isHexDigit(*p)) || *p == ':' || *p == '.')
is this what is truly intended or is it intended to be
while (p != pEnd && (INetMIME::isHexDigit(*p) || *p == ':' || *p == '.'))

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