To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82995
                 Issue #|82995
                 Summary|new operator thows exceptions in code complied without
                        | exceptions on Linux
               Component|porting
                 Version|OOo 2.3
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|mh
             Reported by|pmladek





------- Additional comments from [EMAIL PROTECTED] Fri Oct 26 09:57:22 +0000 
2007 -------
We have discussed with pl and thb on irc when the operator new throws
std::bad_alloc exception and when it returns NULL pointer instead. It went out
that it is system dependant.

If the code is compiled with -fno-exceptions -DEXCEPTIONS_OFF, the NULL pointer
is returned on Windows but the exception is still thrown on Linux.

The problem is related to he Linux-specific implementation of the operator new
in sal/cpprt/operators_new_delete.cxx.

The current behavior is error prone and makes the error handling more
complicated. Could it be somewhat synchronized?

Note, the discussion started because of the fix for the issue #82970.

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