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
Hi
this error comes with the arduino when i compile my own file
I just can not get any further Maybe you can help me.
thank you in advance
greeting markus
Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Generic ESP8285 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 1MB (FS:64KB OTA:~470KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
tasmota:1668:15: error: expected unqualified-id before string constant
static void BacklogLoop()
support:939:18: error: variable or field 'ModuleGpios' declared void
void ModuleGpios(myio *gp)
support:939:18: error: 'myio' was not declared in this scope
support:939:24: error: 'gp' was not declared in this scope
void ModuleGpios(myio *gp)
support:966:1: error: 'gpio_flag' does not name a type
gpio_flag ModuleFlag()
^
support_rtc:253:37: error: 'TIME_T' has not been declared
void BreakTime(uint32_t time_input, TIME_T &tm)
support_rtc:309:19: error: 'TIME_T' was not declared in this scope
uint32_t MakeTime(TIME_T &tm)
support_rtc:309:29: error: expected primary-expression before ')' token
uint32_t MakeTime(TIME_T &tm)
support_rtc:340:21: error: 'TimeRule' was not declared in this scope
uint32_t RuleToTime(TimeRule r, int yr)
support_rtc:340:33: error: expected primary-expression before 'int'
uint32_t RuleToTime(TimeRule r, int yr)
support_rtc:340:39: error: expression list treated as compound expression in initializer [-fpermissive]
uint32_t RuleToTime(TimeRule r, int yr)
support_wifi:111:18: error: variable or field 'WifiSetMode' declared void
void WifiSetMode(WiFiMode_t wifi_mode)
support_wifi:111:18: error: 'WiFiMode_t' was not declared in this scope
xdrv_01_webserver:559:31: error: 'IPAddress' has not been declared
void StartWebserver(int type, IPAddress ipweb)
xdrv_09_timers:189:24: error: variable or field 'ApplyTimerOffsets' declared void
void ApplyTimerOffsets(Timer *duskdawn)
xdrv_09_timers:189:24: error: 'Timer' was not declared in this scope
xdrv_09_timers:189:31: error: 'duskdawn' was not declared in this scope
void ApplyTimerOffsets(Timer *duskdawn)
D:\Test\Sonoff\Programme & Tools\Meine Tasmota Software\Tasmota-development\tasmota\tasmota.ino: In function 'void GpioInit()':
tasmota:1316:22: error: 'ModuleGpios' was not declared in this scope
ModuleGpios(&def_gp);
tasmota:1334:31: error: 'ModuleFlag' was not declared in this scope
my_module_flag = ModuleFlag();
D:\Test\Sonoff\Programme & Tools\Meine Tasmota Software\Tasmota-development\tasmota\support_rtc.ino: In function 'String GetDuration(uint32_t)':
support_rtc:144:21: error: invalid initialization of reference of type 'int&' from expression of type 'TIME_T'
BreakTime(time, ut);
support_rtc:253:6: error: in passing argument 2 of 'void BreakTime(uint32_t, int&)'
void BreakTime(uint32_t time_input, TIME_T &tm)
D:\Test\Sonoff\Programme & Tools\Meine Tasmota Software\Tasmota-development\tasmota\support_rtc.ino: In function 'String GetDT(uint32_t)':
support_rtc:163:26: error: invalid initialization of reference of type 'int&' from expression of type 'TIME_T'
BreakTime(time, tmpTime);
support_rtc:253:6: error: in passing argument 2 of 'void BreakTime(uint32_t, int&)'
void BreakTime(uint32_t time_input, TIME_T &tm)
D:\Test\Sonoff\Programme & Tools\Meine Tasmota Software\Tasmota-development\tasmota\support_rtc.ino: In function 'uint32_t MakeTime(TIME_T&)':
support_rtc:309:29: error: 'uint32_t MakeTime(TIME_T&)' redeclared as different kind of symbol
uint32_t MakeTime(TIME_T &tm)
support_rtc:309:10: error: previous declaration of 'uint32_t MakeTime'
uint32_t MakeTime(TIME_T &tm)
D:\Test\Sonoff\Programme & Tools\Meine Tasmota Software\Tasmota-development\tasmota\support_rtc.ino: In function 'uint32_t RuleToTime(TimeRule, int)':
support_rtc:340:39: error: 'uint32_t RuleToTime(TimeRule, int)' redeclared as different kind of symbol
uint32_t RuleToTime(TimeRule r, int yr)
support_rtc:340:10: error: previous declaration of 'uint32_t RuleToTime'
uint32_t RuleToTime(TimeRule r, int yr)
support_rtc:363:18: error: 'MakeTime' cannot be used as a function
t = MakeTime(tm); // First day of the month, or first day of next month for "Last" rules
D:\Test\Sonoff\Programme & Tools\Meine Tasmota Software\Tasmota-development\tasmota\support_rtc.ino: In function 'void RtcSecond()':
support_rtc:391:78: error: 'RuleToTime' cannot be used as a function
support_rtc:392:71: error: 'RuleToTime' cannot be used as a function
exit status 1
expected unqualified-id before string constant
Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.
The text was updated successfully, but these errors were encountered: