Gentoo: geany-plugins-1.37-r100 compile error with pretty-printer plugin enabled

The error:

PrettyPrinter.h:55:22: error: two or more data types in declaration specifiers
   55 | typedef unsigned int bool;
      |                      ^~~~
In file included from PluginEntry.h:34,
                 from PluginEntry.c:28:
PrettyPrinter.h:55:1: warning: useless type name in empty declaration
   55 | typedef unsigned int bool;
      | ^~~~~~~

Solution, comment out line 55 of PrettyPrinter.h and restart compile using ebuild followed by install and qmerge.

Leave a Reply