Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile time error #27

Open
kevin-vilbig opened this issue Oct 20, 2016 · 1 comment
Open

Compile time error #27

kevin-vilbig opened this issue Oct 20, 2016 · 1 comment

Comments

@kevin-vilbig
Copy link

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

@egli
Copy link
Member

egli commented Mar 14, 2017

configure now checks for liblouis > 3.0, so I think this issue should be solved.

@kevin-vilbig can you confirm with the new alpha release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants