To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=66749
                 Issue #|66749
                 Summary|unxsols4 non-pro comphelper debug=x fails
               Component|utilities
                 Version|680m173
                Platform|All
                     URL|
              OS/Version|Solaris
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|sb
             Reported by|sb





------- Additional comments from [EMAIL PROTECTED] Mon Jun 26 07:26:20 -0700 
2006 -------
On unxsols4 non-pro, at least using the CC 5.5 used by Sun Hamburg Release
Engineering
(<http://wiki.services.openoffice.org/wiki/Compiler_versions_used_by_port_maintainers_and_release_engineers>),
comphelper/source/misc/asyncnotification.cxx:1.6 fails with

"comphelper/source/misc/asyncnotification.cxx", line 195: Warning: statement is
unreachable.

This appears to be a compiler error (which appears to be fixed in CC 5.8 at
least) that can be reduced to

~> cat bug.cc
struct S1 { virtual int terminate(); };
struct S2: S1 {
    virtual int terminate() {
        S1::terminate();
        return 0;
    }
};
~> CC -c +w2 bug.cc
"bug.cc", line 5: Warning: statement is unreachable.
1 Warning(s) detected.

Interestingly, after s/terminate/f/ in bug.cc, the file compiles fine.

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