You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I rolled back to 2.5.0 and got it to, at least, compile properly.
logging.c:65:42: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
static logcallback logCallbackFunction = defaultLogCallback;
^~~~~~~~~~~~~~~~~~
logging.c: In function 'lbu_registerLogCallback':
logging.c:69:25: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
logCallbackFunction = defaultLogCallback;
^
logging.c: At top level:
logging.c:130:1: error: conflicting types for 'defaultLogCallback'
defaultLogCallback (logLevels level, const char *message)
^~~~~~~~~~~~~~~~~~
logging.c:63:13: note: previous declaration of 'defaultLogCallback' was here
static void defaultLogCallback(int level, const char *message);
^~~~~~~~~~~~~~~~~~
logging.c:63:13: warning: 'defaultLogCallback' used but never defined
Makefile:824: recipe for target 'liblouisutdml_la-logging.lo' failed
The text was updated successfully, but these errors were encountered:
Fedora 24, liblouis 2.6.0
I rolled back to 2.5.0 and got it to, at least, compile properly.
logging.c:65:42: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
static logcallback logCallbackFunction = defaultLogCallback;
^~~~~~~~~~~~~~~~~~
logging.c: In function 'lbu_registerLogCallback':
logging.c:69:25: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
logCallbackFunction = defaultLogCallback;
^
logging.c: At top level:
logging.c:130:1: error: conflicting types for 'defaultLogCallback'
defaultLogCallback (logLevels level, const char *message)
^~~~~~~~~~~~~~~~~~
logging.c:63:13: note: previous declaration of 'defaultLogCallback' was here
static void defaultLogCallback(int level, const char *message);
^~~~~~~~~~~~~~~~~~
logging.c:63:13: warning: 'defaultLogCallback' used but never defined
Makefile:824: recipe for target 'liblouisutdml_la-logging.lo' failed
The text was updated successfully, but these errors were encountered: