Discussion:
forum-v2 can't compile
(too old to reply)
Dingyuan Wang
2018-08-05 04:35:11 UTC
Permalink
Hi,

I want to try out the forum-v2 branch, but it doesn't compile:

cc -I. -I./src -Ibld -Wall -DFOSSIL_ENABLE_JSON
-DFOSSIL_ENABLE_LEGACY_MV_RM=1 -DFOSSIL_ENABLE_TH1_DOCS
-DFOSSIL_ENABLE_TH1_HOOKS -DFOSSIL_DYNAMIC_BUILD=1 -DFOSSIL_HAVE_FUSEFS
-g -O2 -DHAVE_AUTOCONFIG_H -D_HAVE_SQLITE_CONFIG_H -o bld/db.o -c bld/db_.c
./src/db.c: In function ‘db_err’:
./src/db.c:86:7: error: ‘rc’ undeclared (first use in this function)
rc = 0 /* avoid HTTP 500 */;
^~
./src/db.c:86:7: note: each undeclared identifier is reported only once
for each function it appears in

Loading...