Control: reassign -1 src:austin 3.7.0-5
Control: forwarded -1 https://github.com/P403n1x87/austin/pull/328
Control: tag -1 + patch

Hi Colin (2025.09.07_18:11:21_+0200)

Looking at this more closely, it's parsing GCC intermediate output, and already has many fake defines to make this work. The right answer is to add one more. Not a pycparser bug.

Patch attached and forwarded.

Stefano

--
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272
From 4e5fc721257cece96cd54c15f0ead2095d4c40c4 Mon Sep 17 00:00:00 2001
From: Stefano Rivera <[email protected]>
Date: Mon, 8 Sep 2025 11:06:22 +0200
Subject: [PATCH] Support C23 in GCC 15

Fixes: https://bugs.debian.org/1114057
---
 test/cunit/__init__.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/cunit/__init__.py b/test/cunit/__init__.py
index 45752a2..99fc4d6 100644
--- a/test/cunit/__init__.py
+++ b/test/cunit/__init__.py
@@ -43,6 +43,7 @@ _header_head = r"""
 #define __GNUC_VA_LIST
 #define __gnuc_va_list char
 #define __thread
+#define __typeof__(nullptr) void*
 // typedef struct __builtin_va_list { } __builtin_va_list;
 """
 
-- 
2.51.0

Reply via email to