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

Replace 'boolean' with 'bool' #189

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ademuri
Copy link

@ademuri ademuri commented Jul 15, 2023

This fixes warnings on STM32 about boolean being deprecated:

In file included from .pio/libdeps/default/Adafruit ST7735 and ST7789 Library/Adafruit_ST7789.h:4,                                   
                 from /home/adam/hardware/gps-tracker/src/gps-tracker.ino:4:                                                         
.pio/libdeps/default/Adafruit ST7735 and ST7789 Library/Adafruit_ST77xx.h:102:36: warning: 'boolean' is deprecated [-Wdeprecated-declarations]
  102 |   void enableDisplay(boolean enable);                                                                                        
      |                                    ^                                                                                         
In file included from /home/adam/.platformio/packages/framework-arduinoststm32/cores/arduino/wiring.h:34,                            
                 from /home/adam/.platformio/packages/framework-arduinoststm32/cores/arduino/Arduino.h:36,                           
                 from /tmp/tmpiqlma7tp:1:                                                                                            
/home/adam/.platformio/packages/framework-arduinoststm32/cores/arduino/wiring_constants.h:110:14: note: declared here                
  110 | typedef bool boolean __attribute__((deprecated));                                                                            
      |              ^~~~~~~

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

Successfully merging this pull request may close these issues.

1 participant