Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

Compilation fails if cdefs has MGOS_ENABLE_WEB_CONFIG: 1

Hello,

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?

Comments

Sign In or Register to comment.