Does not compile with tcc 0.9.27
Author: evolbugCreated May 24, 2017Updated Nov 6, 2024
Cannot compile either v2.0.3 and v2.1.0 with the latest tcc version from http://repo.or.cz/tinycc.git mob branch.
tcc src/Table.c -c -I ./include -std=gnu99 -Wall -Wno-unused -g -ggdb -fdollars-in-identifiers -fPIC -DCELLO_NSTRACE -o obj/Table.o
src/Table.c:156: error: cannot cast 'struct Tuple' to 'void **'
make: *** [Makefile:125: obj/Table.o] Error 1However, this page http://libcello.org/learn/best-improvements-of-cello-2.0 under Portability mentions that it can indeed be done
[..] Cello can be compiled easily with all of the major compilers including
gcc,clang,cl.exe, andtcc(on the development branch).
Has anything changed since or has tcc not been tested?
Source: orangeduck/Cello