Ticket #215 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

COBIA precompiled proxy generation produces incorrect code for a CapeGUID argument

Reported by: jasper Owned by: jasper
Priority: minor Milestone: Maintenance of Phase II
Component: Code generation Version: 1.2.1.0
Keywords: Cc:

Description

The generated code will not compile as the GUID input argument of the client proxy is typed const CapeGUID * and the cast to void * fails due to the const constraint:

'initializing': cannot convert from 'const COBIA::CapeUUID *' to 'void *'

An extra const cast is required.

Change History

comment:1 Changed 4 months ago by jasper

  • Status changed from new to closed
  • Resolution set to fixed

In [1d1366ba44a244dd9ebd065309ae0ccec7827e86]:

Extended testing against all precompiled and on-the-fly proxies in all marshaling scenarios; minor corrections on ignored interfaces in code generation; fix on use of namespace in pre-compiled COBIA proxies (fixed #214), fixed const cast for CapeUUID in COBIA proxy interface code generation (fixed #215); fixed object count checker; allow pre-compiled and on-the-fly proxies for the same library (fixed #216)

Note: See TracTickets for help on using tickets.