Compile error with 4M1M with latest source from today

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Micha_he
Normal user
Posts: 372
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Compile error with 4M1M with latest source from today

#1 Post by Micha_he » 13 Oct 2020, 20:15

I've update today to the latest source/patches and start compuile a 'normal_ESP8266_4M1M' firmware.
While the build-process the following errror is displayed:

Code: Select all

Compiling .pio\build\normal_ESP8266_4M1M\lib3c0\Adafruit BusIO\Adafruit_I2CDevice.cpp.o
.pio\libdeps\normal_ESP8266_4M1M\Adafruit GFX Library\Adafruit_GFX.cpp: In member function 'void GFXcanvas1::drawFastRawHLine(int16_t, int16_t, int16_t, uint16_t)':
.pio\libdeps\normal_ESP8266_4M1M\Adafruit GFX Library\Adafruit_GFX.cpp:2070:30: warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
       for (int8_t i = 0; i < lastByteBits; i++) {
                              ^
.pio\libdeps\normal_ESP8266_4M1M\Adafruit GFX Library\Adafruit_GFX.cpp: In member function 'void GFXcanvas16::drawFastRawHLine(int16_t, int16_t, int16_t, uint16_t)':
.pio\libdeps\normal_ESP8266_4M1M\Adafruit GFX Library\Adafruit_GFX.cpp:2620:53: warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
   for (int16_t i = buffer_index; i < buffer_index + w; i++) {
                                                     ^
Is the problem at my vscode/platformio environment ? Can I solve the problem ?

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Compile error with 4M1M with latest source from today

#2 Post by TD-er » 13 Oct 2020, 20:20

That's not an error, but a warning.

Micha_he
Normal user
Posts: 372
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: Compile error with 4M1M with latest source from today

#3 Post by Micha_he » 13 Oct 2020, 20:36

Ok, when I can ignore it..... The bin-file is created and seems to work.

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Compile error with 4M1M with latest source from today

#4 Post by TD-er » 13 Oct 2020, 23:06

Micha_he wrote: 13 Oct 2020, 20:36 Ok, when I can ignore it..... The bin-file is created and seems to work.
Yep this one you can ignore.
I will have a look at the warnings later.
Some other libraries also have warnings and even our own code has warnings which aren't so innocent as this one.

Post Reply

Who is online

Users browsing this forum: No registered users and 50 guests