mirror of
https://github.com/linux-usb-gadgets/libusbgx.git
synced 2025-07-13 04:09:42 +03:00
Recently we faced some C++ compilation issues because we used in our header a gcc extension that is not supported by g++. Even through this problem has been fix let's try to avoid such problems in a future. To do so, let's add a C++ compilation check for all our public headers as part of our test suit. Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
20 lines
474 B
C++
20 lines
474 B
C++
/*
|
|
* This is just a dummy test which checks if all our headers
|
|
* compiles correctly with a C++ compiler.
|
|
*/
|
|
|
|
#include <usbg/usbg.h>
|
|
#include <usbg/function/ffs.h>
|
|
#include <usbg/function/hid.h>
|
|
#include <usbg/function/loopback.h>
|
|
#include <usbg/function/midi.h>
|
|
#include <usbg/function/ms.h>
|
|
#include <usbg/function/net.h>
|
|
#include <usbg/function/phonet.h>
|
|
#include <usbg/function/serial.h>
|
|
#include <usbg/function/uac2.h>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
return 0;
|
|
}
|