From 731e7a2f3bf18baa4d4ce966006637ee13c5651a Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 24 Oct 2021 22:47:44 -0700 Subject: Add support for C23 attribute syntax Currently, all attributes are ignored. References: https://todo.sr.ht/~mcf/cproc/68 --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index fe5688a..d67a74f 100755 --- a/configure +++ b/configure @@ -154,8 +154,7 @@ static const char *const preprocesscmd[] = { /* we don't generate position-independent code */ "-U", "__PIC__", - /* ignore attributes and extension markers */ - "-D", "__attribute__(x)=", + /* ignore extension markers */ "-D", "__extension__=", $defines}; static const char *const codegencmd[] = {"$DEFAULT_QBE"}; -- cgit v1.2.3