public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6720] [modula2] Add missing stdbool to testcode
@ 2023-03-16 21:50 Gaius Mulley
  0 siblings, 0 replies; only message in thread
From: Gaius Mulley @ 2023-03-16 21:50 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:e6ccae0ac0d53cfa9099d62fada050ee87d4d0ad

commit r13-6720-ge6ccae0ac0d53cfa9099d62fada050ee87d4d0ad
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date:   Thu Mar 16 21:50:02 2023 +0000

    [modula2] Add missing stdbool to testcode
    
    The type bool is now used to represent BOOLEAN.  The C source
    must now include <stdbool.h>.
    
    gcc/testsuite/ChangeLog:
    
            * gm2/types/run/pass/d.c: Add missing include <stdbool.h>.
    
    Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>

Diff:
---
 gcc/testsuite/gm2/types/run/pass/d.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/testsuite/gm2/types/run/pass/d.c b/gcc/testsuite/gm2/types/run/pass/d.c
index 31d497d121e..36eea84df4c 100644
--- a/gcc/testsuite/gm2/types/run/pass/d.c
+++ b/gcc/testsuite/gm2/types/run/pass/d.c
@@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along
 with gm2; see the file COPYING.  If not, write to the Free Software
 Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
 
+#include <stdbool.h>
+
 void exit (int);
 
 typedef struct {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-16 21:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-16 21:50 [gcc r13-6720] [modula2] Add missing stdbool to testcode Gaius Mulley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).