Copyright ©

Mongoose OS Forum

ATTENTION! This forum has moved to:

Do not post any new messages.

Compilation fails if cdefs has MGOS_ENABLE_WEB_CONFIG: 1


If I set MGOS_ENABLE_WEB_CONFIG: 1 in cdefs then compilation fails with following error:

/home/martin/app/deps/http-server/src/mgos_http_server.c: In function 'ro_vars_handler':
/home/martin/app/deps/http-server/src/mgos_http_server.c:146:13: error: 'mgos_sys_ro_vars' undeclared (first use in this function)
   send_cfg(&mgos_sys_ro_vars, mgos_ro_vars_schema(), hm, c);

Is it a bug in mongoose-os-libs/http-server?


Sign In or Register to comment.