diff options
author | Loïc Collignon <loic.collignon@iot.bzh> | 2019-01-04 15:49:18 +0100 |
---|---|---|
committer | Loïc Collignon <loic.collignon@iot.bzh> | 2019-03-11 13:40:28 +0100 |
commit | 9383ae1d276484f273cb11b6e5d92d1509118c96 (patch) | |
tree | 8655b6de646b4dbb20af737bc8bf2f26b55d17ed /coverage/scripts/05-hello-v2.sh | |
parent | 3abc75dfa35fa36c0f5f55cd4aed4d443620b3a9 (diff) |
c++: Fix multiple definition and cast
The function was defined as many time as the header was included.
Making it a weak function fix the issue.
Also, a plain old C cast is required to make this constexpr valid.
Change-Id: I278f376e00ec6728272df4fde8ca8984195dd533
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'coverage/scripts/05-hello-v2.sh')
0 files changed, 0 insertions, 0 deletions