Hi,
I'm maintaining the `geany-plugins` pacakge for Arch Linux.
When compiling the latest version of geany-plugins, I get this error:
``` PrettyPrinter.h:55:22: error: two or more data types in declaration specifiers 55 | typedef unsigned int bool; | ^~~~ ```
Including `<stdbool.h>` and removing the typdef for `bool` solves this issue.
Tested on GCC 10.2.0.
Thanks for creating and maintaining Geany and Geany Plugins! They are both pretty sweet and usually unproblematic to package. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1053
-- Commit Summary --
* Use stdbool.h istead of redefining bool
-- File Changes --
M pretty-printer/src/PrettyPrinter.h (5)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1053.patch https://github.com/geany/geany-plugins/pull/1053.diff