bugCERTI - Bugs: bug #20892, patch for RTI::Exception...

 
 

bug #20892: patch for RTI::Exception operator<<

Submitted by:  Jeff <zaphod46>
Submitted on:  Sat 25 Aug 2007 03:05:48 AM UTC  
 
Category: CERTISeverity: 1 - Wish
Item Group: Action requestStatus: Ready For Test
Privacy: PublicAssigned to: Eric NOULARD <erk>
Open/Closed: ClosedRelease: CVS
Reproducibility: Every TimeFixed Release: 3.2.5

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 27 Aug 2007 01:19:29 PM UTC, comment #2:

Ok handling the patch.
This is weird since operator were declared
in RTI.hh but not implemented in Exception.cc

I removed the RTI_EXPORT usage in .cc since
it is only valid in headers.

In fact this is used on the Windows platform
for handling import/export from DLL.

The final modification is in CVS.

Eric NOULARD <erk>
Project AdministratorIn charge of this item.
Sat 25 Aug 2007 12:31:23 PM UTC, comment #1:

Ack.
Thank you again fro your contribution.
This one should reach CVS pretty soon.

I may have a chance to work on other bug
your reported next week.
Stay tuned

Eric NOULARD <erk>
Project AdministratorIn charge of this item.
Sat 25 Aug 2007 03:05:48 AM UTC, original submission:

I am using CERTI in code that expects some output operators for RTI::Exception, but the symbols are undefined. Here is a patch for that:

RCS file: /sources/certi/certi/libCERTI/Exception.cc,v
retrieving revision 3.7
diff -r3.7 Exception.cc
175a176,187

> RTI_STD::ostream RTI_EXPORT &
> operator<<(RTI_STD::ostream &os, RTI::Exception const &ex) {
> os << ex._reason;
> return os;
> }
>
> RTI_STD::ostream RTI_EXPORT &
> operator<<(RTI_STD::ostream &os, RTI::Exception *ex) {
> os << ex->_reason;
> return os;
> }
>

Jeff <zaphod46>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by erk (Posted a comment)
  • -unavailable- added by zaphod46 (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 19 Nov 2007 02:31:54 PM UTCerkOpen/ClosedOpen=>Closed
      Fixed ReleaseNextRelease=>3.2.5
    Thu 30 Aug 2007 07:38:54 AM UTCerkFixed ReleaseUnknown=>NextRelease
    Mon 27 Aug 2007 01:19:29 PM UTCerkStatusNone=>Ready For Test
      Assigned toNone=>erk

    Back to the top


    Powered by Savane 3.1-cleanup1