Arduino: 1.8.13 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), no dtr (aka ck), 26 MHz, 40MHz, DIO, 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Serial, None, Only Sketch, 115200"
In file included from sketch\h801-mqtt-json.ino.cpp:1:0:
C:\Users\norbert.farkas\Desktop\home\h801-mqtt-json-master\h801-mqtt-json\h801-mqtt-json.ino: In function 'void get_m_state_from_transition_state()':
C:\Users\norbert.farkas\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266/Arduino.h:256:85: internal compiler error: in cp_parser_abort_tentative_parse, at cp/parser.c:23793
#define _max(a,b) ({ decltype(a) _a = (a); decltype(b) _b = (b); _a > _b? _a : _b; })
^
C:\Users\norbert.farkas\Desktop\home\h801-mqtt-json-master\h801-mqtt-json\h801-mqtt-json.ino:1074:24: note: in expansion of macro '_max'
m_rgb_brightness = _max(transition_red, _max(transition_green, transition_blue));
^
C:\Users\norbert.farkas\Desktop\home\h801-mqtt-json-master\h801-mqtt-json\h801-mqtt-json.ino:1074:45: note: in expansion of macro '_max'
m_rgb_brightness = _max(transition_red, _max(transition_green, transition_blue));
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
exit status 1
Error compiling for board Generic ESP8266 Module.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.