Closed yageek closed 5 years ago
Nice. I can't think of any reason not to do this.
That said, why are you compiling as C++? I would recommend the C library be compiled as C, if possible. I'm actually a little surprised that the whole thing worked as C++.
Using the "amalgamate" inside a c++ project triggers the following warning for every
ti_indicator_info
declared in the file:Declaring the string as
const char*
instead ofchar*
fixes the warnings.