You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modbus.c: In function ‘read_io_status’:
modbus.c:1202:9: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (unsigned int i = offset; i < offset_end; i++) {
^
modbus.c:1202:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 t o compile your code
make[2]: *** [Makefile:484: modbus.lo] Error 1
make[1]: *** [Makefile:498: all-recursive] Error 1
make: *** [Makefile:384: all] Error 2
The text was updated successfully, but these errors were encountered:
master branch compilation error.
modbus.c: In function ‘read_io_status’:
modbus.c:1202:9: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (unsigned int i = offset; i < offset_end; i++) {
^
modbus.c:1202:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 t o compile your code
make[2]: *** [Makefile:484: modbus.lo] Error 1
make[1]: *** [Makefile:498: all-recursive] Error 1
make: *** [Makefile:384: all] Error 2
The text was updated successfully, but these errors were encountered: