[Github-comments] [geany/geany-plugins] Use stdbool.h istead of redefining bool (#1053)

Alexander F. Rødseth notifications at xxxxx
Tue Jan 5 12:01:10 UTC 2021


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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1053
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210105/1b768f5d/attachment.htm>


More information about the Github-comments mailing list