search for: 8596ca5

Displaying 3 results from an estimated 3 matches for "8596ca5".

2019 Jan 18
1
Re: [PATCH nbdkit 2/2] tests: Test that public headers are ANSI (ISO C90) compatible.
...+++++++++++++++++++++++++++++++++++++ > tests/Makefile.am | 24 ++++++ > tests/test-ansi-c.sh | 39 +++++++++ > 3 files changed, 230 insertions(+) > > diff --git a/tests/test-ansi-c-plugin.c b/tests/test-ansi-c-plugin.c > new file mode 100644 > index 0000000..8596ca5 > --- /dev/null > +++ b/tests/test-ansi-c-plugin.c > + > +#include <config.h> Do we really want to be including <config.h> in this file? This is the one case where we know we are standalone; I'm also worried that the macros defined in config.h were determined based on...
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.
...tests/test-ansi-c-plugin.c | 167 +++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 24 ++++++ tests/test-ansi-c.sh | 39 +++++++++ 3 files changed, 230 insertions(+) diff --git a/tests/test-ansi-c-plugin.c b/tests/test-ansi-c-plugin.c new file mode 100644 index 0000000..8596ca5 --- /dev/null +++ b/tests/test-ansi-c-plugin.c @@ -0,0 +1,167 @@ +/* nbdkit + * Copyright (C) 2013-2019 Red Hat Inc. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met...