Page 1 of 1

Errors on compile but no errors in results list (Web app)

Posted: Sun Apr 19, 2026 1:00 pm
by RGV250
Hi,
I have made some changes and now get errors when I try to compile.
This is what I get in the compiler messages.
Errors when generating C source code:
WebApp_MQTT_Client_EcoEye5.html : 6 : error : Unknown or missing local variable: data
WebApp_MQTT_Client_EcoEye5.html : 6 : error : Unknown or missing local variable: data
WebApp_MQTT_Client_EcoEye5.html : 3808 : error : Unknown or missing local variable: data
WebApp_MQTT_Client_EcoEye5.html : 3808 : error : Unknown or missing local variable: data

When I look at the FC error results there is nothing, I should be able to figure out what the issue is but it would be nice to know where the actual issue is or why FC did not flag it up as an error when making the changes.
WebApp_MQTT_Client_EcoEye5.fcweb
(80.19 KiB) Downloaded 52 times
Regards,
Bob

Re: Errors on compile but no errors in results list (Web app)

Posted: Sun Apr 19, 2026 1:52 pm
by RGV250
Hi,
I found the error, there was no local variable .data in SendButtonState macro. Not sure why FC didn't pick that up.

Regards,
Bob