tests: C++ compilation test
authorMariusz Ceier <mceier+wayland@gmail.com>
Mon, 15 Dec 2014 10:33:53 +0000 (11:33 +0100)
committerDaniel Stone <daniels@collabora.com>
Tue, 27 Jan 2015 11:17:42 +0000 (11:17 +0000)
commite3dc9a7af6f8f88ff7503bc3a70178e47802868d
treea7896e0b4e174ba715450ea8ea11879afe6833aa
parent9386e2be275878ba7ee68bcd65ce3f130c3fe3b0
tests: C++ compilation test

This test includes one of wayland headers, which produced
error with C++ compiler. C compiler can't be used for this test,
because it issues only a warning[1] and only when wayland headers
are not installed in system headers path (/usr/include).

[1] wayland-server-protocol.h:201:2: warning: implicit declaration of function ‘wl_resource_post_event’

[daniels: Merged in Marek's follow-up to check for a C++ compiler.]

Signed-off-by: Mariusz Ceier <mceier+wayland@gmail.com>
Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Makefile.am
configure.ac
tests/cpp-compile-test.cpp [new file with mode: 0644]