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
Sorry I'm not familiar with the etiquette here, but wanted to report some warning messages I get every time I compile with Adafruit_GFX. In addition to the unused variable 'xa' described in Issue 89, I'm seeing the following warnings when I compile (with warnings set to 'more' or 'all'):
C:\Users\Randy\Dropbox\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: At global scope:
C:\Users\Randy\Dropbox\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: In member function 'boolean Adafruit_GFX_Button::contains(int16_t, int16_t)':
C:\Users\Randy\Dropbox\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:931:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
C:\Users\Randy\Dropbox\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:931:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
C:\Users\Randy\Dropbox\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:932:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
C:\Users\Randy\Dropbox\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:932:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Sorry I'm not familiar with the etiquette here, but wanted to report some warning messages I get every time I compile with Adafruit_GFX. In addition to the unused variable 'xa' described in Issue 89, I'm seeing the following warnings when I compile (with warnings set to 'more' or 'all'):
C:\Users\Randy\Dropbox\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: At global scope:
C:\Users\Randy\Dropbox\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:879:42: warning: unused parameter 'i' [-Wunused-parameter]
void Adafruit_GFX::invertDisplay(boolean i) {
C:\Users\Randy\Dropbox\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: In member function 'boolean Adafruit_GFX_Button::contains(int16_t, int16_t)':
C:\Users\Randy\Dropbox\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:931:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((x < (_x - _w/2)) || (x > (_x + _w/2))) return false;
C:\Users\Randy\Dropbox\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:931:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((x < (_x - _w/2)) || (x > (_x + _w/2))) return false;
C:\Users\Randy\Dropbox\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:932:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((y < (_y - _h/2)) || (y > (_y + _h/2))) return false;
C:\Users\Randy\Dropbox\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:932:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((y < (_y - _h/2)) || (y > (_y + _h/2))) return false;
The text was updated successfully, but these errors were encountered: