pidgin/pidgin
Clone
Summary
Browse
Changes
Graph
Fix build with clang 11.0.0
2020-10-14, Steve Wills
85c82288a969
Fix build with clang 11.0.0
Testing Done:
Built on FreeBSD 13 CURRENT with clang 11.0.0
Built on debian unstable with gcc to verify no changes there. -GK
Reviewed at https://reviews.imfreedom.org/r/167/
PROGS
=
[
'account_option'
,
'attention_type'
,
'circular_buffer'
,
'credential_provider'
,
'image'
,
'keyvaluepair'
,
'protocol_action'
,
'protocol_attention'
,
'protocol_xfer'
,
'queued_output_stream'
,
'smiley'
,
'smiley_list'
,
'trie'
,
'util'
,
'xmlnode'
]
test_ui
=
static_library
(
'test-ui'
,
'test_ui.c'
,
'test_ui.h'
,
c_args
:
[
'-DTEST_DATA_DIR="@0@/data"'
.
format
(
meson
.
current_source_dir
())
],
dependencies
:
[
libpurple_dep
,
glib
]
)
foreach
prog
:
PROGS
e
=
executable
(
'test_'
+
prog
,
'test_@0@.c'
.
format
(
prog
),
c_args
:
[
'-DTEST_DATA_DIR="@0@/data"'
.
format
(
meson
.
current_source_dir
())
],
dependencies
:
[
libpurple_dep
,
glib
],
link_with
:
test_ui
,
)
test
(
prog
,
e
)
endforeach