actorcompiler should run after c++ preprocessor during the build process
xis19 opened this issue · comments
Xiaoge Su commented
It is hard, if not impossible, to create a state variable via macro expansion since macros are expanded after actorcompiler.
Jingyu Zhou commented
This would require actorcompiler
understands macros, which is not the case now. The current compilation steps are: 1) run actorcompiler to transpile .actor.*
to .actor.g.*
, and 2) gcc/clang compiles .actor.g.*
.