Ticket #170 (closed enhancement: fixed)

Opened 17 months ago

Last modified 2 months ago

Expose COBIA version from client header files

Reported by: jasper Owned by: jasper
Priority: major Milestone: Maintenance of Phase II
Component: Client Header Files Version:
Keywords: Cc:


Source code may test whether it is building against the proper COBIA version. For this reason, the COBIA client header files should expose the COBIA version

Change History

comment:1 Changed 16 months ago by jasper

It would be good if code could verify with e.g. a static assert or #if pragma that COBIA source requirements are met. E.g.


Then a PMC that need at least COBIA 1.3 could check proper SDK installation by e.g.

static_assert(COBIA_VERSION_MAJOR>=1,"please install a newer COBIA SDK")
static_assert(COBIA_VERSION_MINOR>=3,"please install a newer COBIA SDK")
Last edited 16 months ago by jasper (previous) (diff)

comment:2 Changed 16 months ago by jasper

The implementation of capeInitialize can then also check that the loaded runtime exposes via cobiaGetVersion the runtime that was compiled against, or newer, and raise an error if not.

comment:3 Changed 2 months ago by jasper

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

Fixed in e49753c and c3fcea2 - COBIA version is updated from python script; installed vs compiled COBIA version check is done as part of capeInitialize

comment:4 Changed 2 months ago by jasper

In [947168275740c0011f358be7881a303e7d8aa3fe]:

include merge fix #170 and fix #189

comment:5 Changed 2 months ago by jasper

  • Version changed from to
Note: See TracTickets for help on using tickets.