Ticket #103 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

GPP not building on Fedora 7 x86_64 box

Reported by: balister Owned by: cdietric
Priority: blocker Milestone: Release 0.8.0
Component: ossiecf Version: trunk
Keywords: Cc:

Description

GPP fails to build. Reading the Internet suggests there may be omniorb issues.

Attachments

err.log Download (39.0 KB) - added by balister 5 years ago.

Change History

Changed 5 years ago by balister

Changed 5 years ago by ttsou

Extraction from a CORBA_Any type requires a const pointer. Also, the Any type maintains ownership of the extracted string so I believe a copy should be made.

Changed 5 years ago by balister

  • status changed from new to closed
  • resolution set to fixed

Fixed in r5854.

Yes, the storage is still allocated inside the any type, but we are building an array of pointers to strings. It does not matter who owns the storage unless the Properties sequence is freed. In this case, there is a fork, then an exec. Since the sequence is still in scope when the exec happens there should be no problem.

Future notes: I really need to avoid the type casting. I think it can be done if argv is declared properly.

Note: See TracTickets for help on using tickets.