swami / libinstpatch

Instrument file software library.
Other
20 stars 6 forks source link

Fix warning from libinstpatch-scan.c (gtkdoc) #71

Closed musicinmybrain closed 1 year ago

musicinmybrain commented 1 year ago

Fixes warning ”implicit declaration of function ‘ipatch_init’” mentioned in https://github.com/swami/libinstpatch/issues/65. This warning could be an error in some C99 and later environments.

Using the -include GCC-compatible option to forcibly include the necessary header is a little hacky, but I don’t know a way to add #include "libinstpatch/misc.h" to the source of the temporary generated C program directly.