PI Zero W
Nov 10 2023 Raspbery PI OS 32bit port of Debian Bookworm
In file included from OpenSprinkler.h:29,
from main.cpp:26:
utils.h:46:1: error: reference to ‘byte’ is ambiguous
46 | byte file_read_byte (const char *fname, ulong pos);
| ^~~~
After reading a bit I realized that the idiot gods of C++ had decided to break anybody’s use of byte, I modified the build to use
-std=c++14 and now I get it compiled.
Update your repository and build again. The fix is to add a -std flag in the build script. The fix has been in the os33 branch for a while and I just got it merged to the master branch today.