<p>Hi,</p>
<p>I'm maintaining the <code>geany-plugins</code> pacakge for Arch Linux.</p>
<p>When compiling the latest version of geany-plugins, I get this error:</p>
<pre><code>PrettyPrinter.h:55:22: error: two or more data types in declaration specifiers
   55 | typedef unsigned int bool;
      |                      ^~~~
</code></pre>
<p>Including <code><stdbool.h></code> and removing the typdef for <code>bool</code> solves this issue.</p>
<p>Tested on GCC 10.2.0.</p>
<p>Thanks for creating and maintaining Geany and Geany Plugins! They are both pretty sweet and usually unproblematic to package.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany-plugins/pull/1053'>https://github.com/geany/geany-plugins/pull/1053</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Use stdbool.h istead of redefining bool</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/1053/files#diff-d191e88cf0730ad3a42358d06c3bb97da1f2f8e3e084437979ab91a93a17d624">pretty-printer/src/PrettyPrinter.h</a>
    (5)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany-plugins/pull/1053.patch'>https://github.com/geany/geany-plugins/pull/1053.patch</a></li>
  <li><a href='https://github.com/geany/geany-plugins/pull/1053.diff'>https://github.com/geany/geany-plugins/pull/1053.diff</a></li>
</ul>

<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/pull/1053">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4BAI4RHWQ5K4OMGFLSYL5QNANCNFSM4VU7B3LQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3MWZEKXKU4MKYNBHTSYL5QNA5CNFSM4VU7B3L2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LTNQFVA.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/pull/1053",
"url": "https://github.com/geany/geany-plugins/pull/1053",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>