vectorgrp / sil-kit

Vector SIL Kit – Open-Source Library for Connecting Software-in-the-Loop Environments
https://vectorgrp.github.io/sil-kit-docs
MIT License
107 stars 32 forks source link

c-api: turn const global into define #150

Open VDanielEdwards opened 1 day ago

VDanielEdwards commented 1 day ago

Subject

When linking two separately compiled object files, both using the C-API, the linker informed me about a multiply defined symbol. This turned out to be the const global SilKit_LinDataLengthUnknown.

I did grep through the C headers and haven't found another one of those.

Neither the .dll nor the .so export this symbol so no trouble there.

Issue: SILKIT-1654

Developer checklist (address before review)