arocc icon indicating copy to clipboard operation
arocc copied to clipboard

Preprocessor: expansion disabled when it shouldn't be

Open ehaas opened this issue 3 years ago • 0 comments

#define foo(X) 1 bar
#define bar(X) 2 foo

foo(X)(Y)(Z)

gcc and clang expand this to: 1 2 1 bar

aro expands it to: 1 2 foo(Z)

ehaas avatar Aug 14 '22 05:08 ehaas