[Gambas-user] Problems compiling Gambas 3.6.1

Tobias Boege taboege at ...626...
Mon Nov 3 09:55:52 CET 2014


On Mon, 03 Nov 2014, CJ wrote:
> 
> Got the following error when trying to compile 3.6.1,
> anyone have ideas of what the problem is?
> 
> ...
> Making all in data
> make[5]: Entering directory `/home/gambas3-3.6.1/main/lib/data'
>   CC     gb_data_la-main.lo
>   CC     gb_data_la-c_list.lo
>   CC     gb_data_la-c_deque.lo
>   CC     gb_data_la-c_circular.lo
>   CC     gb_data_la-c_avltree.lo
>   CC     gb_data_la-c_graph.lo
>   CC     gb_data_la-c_graphmatrix.lo
>   CC     gb_data_la-c_heap.lo
>   CC     gb_data_la-trie.lo
>   CC     gb_data_la-c_trie.lo
> c_trie.c:331: error: redefinition of typedef 'CPREFIX'
> c_trie.c:224: note: previous declaration of 'CPREFIX' was here
> make[5]: *** [gb_data_la-c_trie.lo] Error 1

I tried to fix it in #6607. What compiler (version) do you use? I ask
because there is nothing more in those lines than a forward typedef. As
far as I can remember back, all my compilers could handle this.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk




More information about the User mailing list