Closed gocarlos closed 4 years ago
adds extern "C" to allow C code in cpp
extern "C"
when using the mdns.h file in cpp source code:
mdns.h
/home/ladmin/.conan/data/mdns/20200130/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/mdns.h:362:26: error: invalid conversion from ‘const void*’ to ‘const uint8_t*’ {aka ‘const unsigned char*’} [-fpermissive] 362 | const uint8_t* buffer = rawdata; | ^~~~~~~ | | | const void*
ready for review/merge
what
adds
extern "C"
to allow C code in cppwhy
when using the
mdns.h
file in cpp source code: