Open hmb opened 6 years ago
This breaks usbdmx_example
:
$ make
g++ -L. -Wall -o usbdmx_example usbdmx_example.cpp -lusbdmx
usbdmx_example.cpp:9:23: error: expected initializer before ‘InterfaceChange’
void USB_DMX_CALLBACK InterfaceChange(void) {
My bad, I missed the example program. Changed the macro there and re-introduced the USB_DMX_CALLBACK macro in order to not break other existing project. If it's OK by you it could be marked deprecated in future releases. It's just a naming clarification.
Compiler macros and MSVC specific settings have been added to correctly compile under MSVC in VS 2017. The other pull requests should go together with this one, to compile without warnings.