apple / apple/foundationdb

actorcompiler should run after c++ preprocessor during the build process

Open
#10,176 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

It is hard, if not impossible, to create a state variable via macro expansion since macros are expanded after actorcompiler.

Contributor guide

Open the contributing guide

Research direction

Start by locating the build entry points for actorcompiler and the C++ preprocessor, then trace the current ordering and how macro-expanded state variables are handled. Done means actorcompiler runs after preprocessing and a macro-created state variable can be compiled successfully, with an appropriate build or regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.