Displaying 3 results from an estimated 3 matches for "test_ansi_c_plugin_la_sources".
2019 Jan 18
1
Re: [PATCH nbdkit 2/2] tests: Test that public headers are ANSI (ISO C90) compatible.
...nly a compile test.
> +TESTS += \
> + test-ansi-c.sh
> +# check_LTLIBRARIES won't build a shared library (see automake manual).
> +# So we have to do this and add a dependency.
> +noinst_LTLIBRARIES += test-ansi-c-plugin.la
> +test-ansi-c.sh: test-ansi-c-plugin.la
> +
> +test_ansi_c_plugin_la_SOURCES = \
> + test-ansi-c-plugin.c \
> + $(top_srcdir)/include/nbdkit-plugin.h
> +test_ansi_c_plugin_la_CPPFLAGS = \
> + -std=c90 -pedantic \
> + -I$(top_srcdir)/include
> +test_ansi_c_plugin_la_CFLAGS = \
> + $(WARNINGS_CFLAGS)
> +# For use of the -rpath option, see:
>...
2019 Jan 14
4
[PATCH nbdkit 0/2] tests: Test that public headers are ANSI (ISO C90) compatible.
We previously discussed allowing the plugin API to be consumed by
non-GCC/non-Clang/old compilers. This implements a test.
Rich.
2019 Jan 14
0
[PATCH nbdkit 2/2] tests: Test that public headers are ANSI (ISO C90) compatible.
...othing very
+# interesting, it's mainly a compile test.
+TESTS += \
+ test-ansi-c.sh
+# check_LTLIBRARIES won't build a shared library (see automake manual).
+# So we have to do this and add a dependency.
+noinst_LTLIBRARIES += test-ansi-c-plugin.la
+test-ansi-c.sh: test-ansi-c-plugin.la
+
+test_ansi_c_plugin_la_SOURCES = \
+ test-ansi-c-plugin.c \
+ $(top_srcdir)/include/nbdkit-plugin.h
+test_ansi_c_plugin_la_CPPFLAGS = \
+ -std=c90 -pedantic \
+ -I$(top_srcdir)/include
+test_ansi_c_plugin_la_CFLAGS = \
+ $(WARNINGS_CFLAGS)
+# For use of the -rpath option, see:
+# https://lists.gnu.org/archive/html/libtool...