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

build failing with latest gcc (user_readline.c:49:31: error: assignment from incompatible pointer type) #40

Open
anthraxx opened this issue Nov 14, 2016 · 1 comment
Labels

Comments

@anthraxx
Copy link

when building with gcc 6.2.1 I'm getting the following error:

[ 26%] Building C object lib/haka/CMakeFiles/libhaka.dir/luadebug/user_readline.c.o
/build/haka-git/src/haka-git/lib/haka/luadebug/user_readline.c: In function 'start':
/build/haka-git/src/haka-git/lib/haka/luadebug/user_readline.c:49:31: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
  rl_completion_entry_function = empty_generator;
                               ^
cc1: all warnings being treated as errors
make[2]: *** [lib/haka/CMakeFiles/libhaka.dir/build.make:934: lib/haka/CMakeFiles/libhaka.dir/luadebug/user_readline.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1059: lib/haka/CMakeFiles/libhaka.dir/all] Error 2
make: *** [Makefile:161: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
@paulfariello
Copy link
Member

Just encountered the exact same issue.
Try d6ee4d2 if you need a temporary patch.

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

No branches or pull requests

2 participants