Ticket #170 (closed enhancement: fixed)
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: | 1.2.1.0 |
Keywords: | Cc: |
Description
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:2 Changed 23 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.
Note: See
TracTickets for help on using
tickets.
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.