learn-safran-navigation-timing / skydel-remote-api

Skydel Remote API
GNU Lesser General Public License v2.1
8 stars 2 forks source link

Function defined in a header #2

Closed agagniere closed 10 months ago

agagniere commented 11 months ago

In the header : Cpp/sdx_api/hil_helper.h, the function preciseSleepUntilMs is defined without the inline keyword.

The recommended practice would be to place the definition in a hil_helper.cpp file, and keep only the declaration in the header.

The consequence of this definition in a header is that including hil_helper.h in more than one .cpp file causes a linker error

Rouiller commented 10 months ago

Fixed in release 23.11.0.