test: add a build-test for -pedantic
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 6 Dec 2013 04:18:39 +0000 (14:18 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 15 Jan 2014 01:26:08 +0000 (11:26 +1000)
commitfab5cc3439395e62dfd9fbdd8dbeb488ce39d34f
treeea43d183cd9c2bcd17c5c34908ec6bcfd12755b9
parent00496411169f7f8cb85ec73edc6f4093035fa659
test: add a build-test for -pedantic

We don't build with -pedantic, but a caller may try to actually stick to the
c99 standard, so let's make sure our public header doesn't cause any
issues there.

Likewise, make sure that our header compiles with GNU C90.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/Makefile.am
test/build-pedantic.c [new file with mode: 0644]