Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile fails on USE_HRG15 #19499

Closed
10 of 11 tasks
blakadder opened this issue Sep 12, 2023 · 2 comments
Closed
10 of 11 tasks

Compile fails on USE_HRG15 #19499

blakadder opened this issue Sep 12, 2023 · 2 comments

Comments

@blakadder
Copy link
Collaborator

PROBLEM DESCRIPTION

Compile fails

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

  • Read the Contributing Guide and Policy and the Code of Conduct
  • Searched the problem in issues
  • Searched the problem in discussions
  • Searched the problem in the docs
  • Searched the problem in the chat
  • Device used (e.g., Sonoff Basic): _____
  • Tasmota binary firmware version number used: _____
    • Pre-compiled
    • Self-compiled
  • Flashing tools used: _____
  • Provide the output of command: Backlog Template; Module; GPIO 255:
  Compiling .pio/build/tasmota-allsensors/src/tasmota.ino.cpp.o
/workspace/Tasmota/tasmota/tasmota_xsns_sensor/xsns_82_wiegand.ino:54:54: note: #pragma message: **** Wiegand interface enabled ****
 #pragma message("**** Wiegand interface enabled ****")
                                                      ^
/workspace/Tasmota/tasmota/tasmota_xsns_sensor/xsns_90_hrg15.ino: In function 'void Rg15Show(bool)':
/workspace/Tasmota/tasmota/tasmota_xsns_sensor/xsns_90_hrg15.ino:214:26: error: 'isfinite' was not declared in this scope
     if( isfinite(Rg15.acc) && isfinite(Rg15.event) && isfinite(Rg15.total) && isfinite(Rg15.rate) ) {
                          ^
/workspace/Tasmota/tasmota/tasmota_xsns_sensor/xsns_90_hrg15.ino:214:26: note: suggested alternative:
In file included from /home/gitpod/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/random:38:0,
                 from /home/gitpod/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/bits/stl_algo.h:65,
                 from /home/gitpod/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/algorithm:62,
                 from /home/gitpod/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:238,
                 from /tmp/tmpveajtcbs:1:
/home/gitpod/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/cmath:596:5: note:   'std::isfinite'
     isfinite(_Tp __x)
     ^
Compiling .pio/build/tasmota-allsensors/lib0de/tls_mini/StackThunk_light.cpp.o
Compiling .pio/build/tasmota-allsensors/lib0de/tls_mini/WiFiClientSecureLightBearSSL.cpp.o
Compiling .pio/build/tasmota-allsensors/libd8f/ams/GcmParser.cpp.o
Compiling .pio/build/tasmota-allsensors/lib434/Display_Renderer-gemu-1.0/epdpaint.cpp.o
Compiling .pio/build/tasmota-allsensors/lib434/Display_Renderer-gemu-1.0/renderer.cpp.o
Compiling .pio/build/tasmota-allsensors/lib914/Adafruit_SH1106-gemu-1.0/Adafruit_SH1106.cpp.o
Compiling .pio/build/tasmota-allsensors/libeed/Adafruit_SSD1306-1.3.0-gemu-1.1/Adafruit_SSD1306.cpp.o
Compiling .pio/build/tasmota-allsensors/lib31e/Adafruit_SSD1331-1.2.0/Adafruit_SPITFT_Renderer.cpp.o
Compiling .pio/build/tasmota-allsensors/lib31e/Adafruit_SSD1331-1.2.0/Adafruit_SSD1331.cpp.o
Compiling .pio/build/tasmota-allsensors/lib772/Arduino_ST7789-gemu-1.0/Arduino_ST7789.cpp.o
Compiling .pio/build/tasmota-allsensors/libcac/ILI9341-gemu-1.0/ILI9341_2.cpp.o
Compiling .pio/build/tasmota-allsensors/libcd9/LedControl/LedMatrix.cpp.o
Compiling .pio/build/tasmota-allsensors/libe83/Xlatb_RA8876-gemu-1.0/RA8876.cpp.o
Compiling .pio/build/tasmota-allsensors/lib63c/Adafruit_SSD1351-gemu-1.0/SSD1351.cpp.o
*** [.pio/build/tasmota-allsensors/src/tasmota.ino.cpp.o] Error 1
Compiling .pio/build/tasmota-allsensors/libcc5/Epaper_29-gemu-1.0/epd2in9.cpp.o

TO REPRODUCE

Compile it

EXPECTED BEHAVIOUR

Compile it

@FerFemNemBem
Copy link

FerFemNemBem commented Sep 12, 2023

Not sure - but because of the "std::isfinite" - could this be related to this one: #19485 (check the link from inside the issue: https://github.com/Jason2866/Tasmota-build/actions/runs/6144927773/job/16672115960 )
So I would suggest to try compiling with the most recent development version.

@Jason2866
Copy link
Collaborator

fixed with latest commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants