Project

General

Profile

Bug #11

--enable-debug compile fails for klish-2.0.0

Added by Anonymous over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
11/30/2014
Due date:
% Done:

0%


Description

When running: ./configure --enable-debug

on the new klish-2.0.0

make fails with error:

clish/view/view_dump.c: In function 'clish_view_dump':
clish/view/view_dump.c:26:11: error: incompatible types when assigning to type 'lub_bintree_iterator_t' from type 'struct lub_list_node_t *'
for(iter = lub_list__get_head(this->nspaces);
^
clish/view/view_dump.c:27:3: error: used struct type value where scalar is required
iter; iter = lub_list_node__get_next(iter)) {
^
clish/view/view_dump.c:27:16: error: incompatible type for argument 1 of 'lub_list_node__get_next'
iter; iter = lub_list_node__get_next(iter)) {
^
In file included from ./clish/view.h:27:0,
from clish/view/private.h:4,
from clish/view/view_dump.c:6:
./lub/list.h:16:18: note: expected 'struct lub_list_node_t *' but argument is of type 'lub_bintree_iterator_t'
lub_list_node_t *lub_list_node__get_next(lub_list_node_t *node);
^
clish/view/view_dump.c:28:30: error: incompatible type for argument 1 of 'lub_list_node__get_data'
nspace = (clish_nspace_t *)lub_list_node__get_data(iter);
^
In file included from ./clish/view.h:27:0,
from clish/view/private.h:4,
from clish/view/view_dump.c:6:
./lub/list.h:17:7: note: expected 'struct lub_list_node_t *' but argument is of type 'lub_bintree_iterator_t'
void *lub_list_node__get_data(lub_list_node_t *node);
^
Makefile:1821: recipe for target 'clish/view/libclish_la-view_dump.lo' failed
make[1]: *** [clish/view/libclish_la-view_dump.lo] Error 1
make[1]: Leaving directory '/home/chris/klish-2.0.0'
Makefile:701: recipe for target 'all' failed
make: *** [all] Error 2

History

#1 Updated by Serj Kalichev over 3 years ago

Try klish-2.0.1. Is it ok?

#2 Updated by Serj Kalichev over 3 years ago

  • Status changed from New to Closed

No response. It was probably fixed since 2.0.1 version

Also available in: Atom PDF