From f2fd56a27dc0abf9f34c9a950456853ad13c4f96 Mon Sep 17 00:00:00 2001 From: Petr Skocik Date: Tue, 11 Jun 2019 13:45:22 +0200 Subject: [PATCH] turn -fdollars-in-identifiers on by default gcc and clang do it too --- libtcc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libtcc.c b/libtcc.c index 90034371..de0fead1 100644 --- a/libtcc.c +++ b/libtcc.c @@ -733,6 +733,7 @@ LIBTCCAPI TCCState *tcc_new(void) ++nb_states; s->nocommon = 1; + s->dollars_in_identifiers = 1; /*on by default like in gcc/clang*/ s->cversion = 199901; /* default unless -std=c11 is supplied */ s->warn_implicit_function_declaration = 1; s->ms_extensions = 1;