Hello
i am new to the forum
I can't compile ESPEasy
I have an error with ccronexpr.c
"
Compiling .pio\build\normal_ESP8266_4M1M\libcd4\Adafruit STMPE610_ID377\Adafruit_STMPE610.cpp.o
Compiling .pio\build\normal_ESP8266_4M1M\libe37\ESP8266mDNS\LEAmDNS.cpp.o
Compiling .pio\build\normal_ESP8266_4M1M\lib24d\ESPeasySerial\ESPEasySerial_ESP8266_noSWserial.cpp.o
lib\ccronexpr\ccronexpr.c:99:30: warning: 'struct tm' declared inside parameter list [enabled by default]
time_t cron_mktime_gm(struct tm* tm) {
^
lib\ccronexpr\ccronexpr.c:99:30: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
lib\ccronexpr\ccronexpr.c: In function 'cron_time_gm':
lib\ccronexpr\ccronexpr.c:149:5: warning: return makes pointer from integer without a cast [enabled by default]
return gmtime_r(date, out);
^
lib\ccronexpr\ccronexpr.c: In function 'cron_mktime_local':
lib\ccronexpr\ccronexpr.c:154:7: error: dereferencing pointer to incomplete type
tm->tm_isdst = -1;
"
Can you help me please ?
Thank you
Error compiling ccronexpr.c
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 3
- Joined: 11 May 2020, 18:48
- Location: FR
Re: Error compiling ccronexpr.c
What is your build environment? ArduinoIDE, VSCode or Atom?
What branch are you trying to compile?
What branch are you trying to compile?
/Ton (PayPal.me)
-
- New user
- Posts: 3
- Joined: 11 May 2020, 18:48
- Location: FR
Re: Error compiling ccronexpr.c
Hello
My environment is VSCode with Platformio and i try to compile ESPEasy-mega
My environment is VSCode with Platformio and i try to compile ESPEasy-mega
-
- New user
- Posts: 3
- Joined: 11 May 2020, 18:48
- Location: FR
Re: Error compiling ccronexpr.c
Yes, i find my problem !!
i have a conflit with time.h library
i dont understand all ... but i've resolved my error
i have a conflit with time.h library
i dont understand all ... but i've resolved my error
Re: Error compiling ccronexpr.c
I guess you had some other library installed?tartoche54 wrote: ↑11 May 2020, 21:05 Yes, i find my problem !!
i have a conflit with time.h library
i dont understand all ... but i've resolved my error
You should not have to change the code yourself to make it compile.
Or did you create a set of plugins for yourself?
In that case I would like to hear what set of plugins could create this build error.
Who is online
Users browsing this forum: No registered users and 48 guests