<p></p>
<p>Hi,<br>
I'm getting this error from the compilation of PrettyPrinter</p>
<pre><code>  CC       pretty_printer_la-PluginEntry.lo
In file included from /usr/include/unicode/umachine.h:52,
                 from /usr/include/unicode/utypes.h:38,
                 from /usr/include/unicode/ucnv_err.h:88,
                 from /usr/include/unicode/ucnv.h:52,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:810,
                 from PluginEntry.h:32,
                 from PluginEntry.c:28:
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;
      | ^~~~~~~
make[3]: *** [Makefile:664: pretty_printer_la-PluginEntry.lo] Error 1
</code></pre>
<p>I guess that this may be because the bool type is defined somewhere else?<br>
Removing the typedef and including stdbool.h fixed it for me, but AFAIK it requires C99.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/issues/1059">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2M7RSIGMMSHCGLMFDS47KJFANCNFSM4W6NDWQA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7X66SDVRAI377RIVTS47KJFA5CNFSM4W6NDWQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4L5CJ3DQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/issues/1059",
"url": "https://github.com/geany/geany-plugins/issues/1059",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>