forked from CompOpt4Apps/IEGenLib
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The second stmt macro definition does not work because of the use of literals in the place of arguments in the macro. For example:
#define s_0(__x0) bar = foo;
#define s0(0) s_0(0);
Gives the following error in preprocessing:
test.cpp:2:12: error: expected parameter name, found "0"
2 | #define s0(0) s_0(0);
| ^
This same thing happens with more complex applied exec schedules like s0(0,i,1).
Credit to @AaronStGeorge for finding this
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working