mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-26 01:27:42 +00:00
Fix a compiler warnings in context_api under clang and statically link.
While dynamic linking works on linux & Mac OS due to rpath support Windows can't find the dll when debugging the test case unless it's copied into the tests builddir or it has it's working dir set to the DLL's builddir.
This commit is contained in:
parent
5f45ea450e
commit
9af3308ef3
2 changed files with 3 additions and 3 deletions
|
|
@ -30,8 +30,8 @@ namespace
|
|||
auto const bmp_ctxt_size = count_codepoints(initial_bmp_context),
|
||||
smp_ctxt_size = count_codepoints(initial_smp_context);
|
||||
km_kbp_context_item test_marker_ctxt[2] = {
|
||||
{KM_KBP_CT_MARKER, {0,}, 0xDEADBEEF},
|
||||
{KM_KBP_CT_END, {0,}, 0}
|
||||
{KM_KBP_CT_MARKER, {0,}, {0xDEADBEEF}},
|
||||
{KM_KBP_CT_END, {0,}, {0}}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@
|
|||
|
||||
ctxt = executable('context-api', 'context_api.cpp',
|
||||
include_directories: [inc, libsrc],
|
||||
dependencies: [kmnkbp])
|
||||
objects: lib.extract_objects('km_kbp_context_api.cpp', 'json.cpp'))
|
||||
test('context-api', ctxt)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue