Bug 2256 - Drop emulated C++ exceptions after x.5.1 has been released
Summary: Drop emulated C++ exceptions after x.5.1 has been released
Status: RESOLVED FIXED
Alias: None
Product: TAO
Classification: Unclassified
Component: ORB (show other bugs)
Version: 1.5.5
Hardware: All All
: P3 normal
Assignee: Johnny Willemsen
URL:
: 2624 (view as bug list)
Depends on:
Blocks: 1301 1618 2023 2454
  Show dependency tree
 
Reported: 2005-10-10 13:36 CDT by Johnny Willemsen
Modified: 2007-02-16 13:44 CST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johnny Willemsen 2005-10-10 13:36:29 CDT
Remove all emulated C++ exception macros from TAO and replace them with their
C++ equivalent after x.5.1 is out
Comment 1 Ossama Othman 2005-10-10 13:37:45 CDT
Corrected spelling.
Comment 2 Johnny Willemsen 2005-10-10 13:41:25 CDT
fixed typo
Comment 3 Johnny Willemsen 2005-10-10 13:41:33 CDT
accept
Comment 4 Douglas C. Schmidt 2005-10-10 13:47:23 CDT
Please note that we'll do this iff we don't hear screams of pain (followed by 
injections of funding) from users of TAO!
Comment 5 Thomas Lockhart 2005-11-04 13:41:14 CST
Ooooooooooooooowwwwwwwwwwwwwwwwwwwwwwwwwwwwwww!
Emulated exceptions result in a substantially smaller footprint (factor of 4)
for our embedded systems running VxWorks using gcc-2.96 and egcs. I'm not sure
if the exception handling scheme has changed in newer versions of gcc to reduce
the footprint, and perhaps other compilers including newer ones have a big
footprint with native exceptions.
Comment 6 Johnny Willemsen 2005-11-05 06:54:15 CST
Our footprint stats show that with newer compilers there is also some increase
but not as major as you say.
Comment 7 Douglas C. Schmidt 2005-11-05 19:39:03 CST
Hi Thomas - we've been discussing these issues for some time now on the 
ACE+TAO mailing lists and have reached the conclusion that maintaining the 
exception macros is something above and beyond what the DOC group and other 
commercial support providers can do without sponsorship or having someone else 
takeover the responsibilities for keeping this stuff updated.  If you and/or 
other groups would like to get involved in taking over this responsibility 
that would be great, but we don't have the resources to keep this going with 
our current sponsors/helpers.  Probably the best thing to do would be to see 
if the latest/greatest G++ 4.x compilers can work well enough for what you're 
doing!
Comment 8 Johnny Willemsen 2005-11-06 02:56:43 CST
An important thing do add, the active maintenance of the emulated exception
macros ended somewhere half october. At that moment our fuzz scripts detected at
least 600 places where macros where not used correctly or where missing. Because
of these errors and the fact that we don't maintain it anymore we put a check in
place which results in an error if you try to build TAO with emulated
exceptions. From x.4.8 the macros in the code are still there but not really
safe to use anymore.
Comment 9 Johnny Willemsen 2005-11-06 07:30:38 CST
After x.4.7 was release we found errors in the fuzz script checking for the
macros. The scripts have been fixed and improved, resulting in finding a lot of
errors in emulated exception usage through TAO. A lot has been fixed but more
had to be done which started the real discussion whether we would do such an
action or not. The results was to drop support until someone stands up and
sponsors this.
Comment 10 Johnny Willemsen 2006-04-12 08:00:19 CDT
we could then also zap the TAO_RAISE macro

added 1301 as blocks, when this is handled we don't have to solve 1301
Comment 11 Johnny Willemsen 2006-08-16 03:52:24 CDT
*** Bug 2624 has been marked as a duplicate of this bug. ***
Comment 12 Johnny Willemsen 2006-12-29 07:42:36 CST
I have changes for TAO_IDL pending
Comment 13 Johnny Willemsen 2007-01-24 13:53:27 CST
We are doing this at this moment, x.5.5 does have a lot of macros in it that are
not usable, x.5.6 will be macro free!!!!!!!!!!!!!!
Comment 14 Johnny Willemsen 2007-02-16 13:44:37 CST
ready