The sizeof(wistd::function) has grown too large for the reserved buffer (12 pointers). Refactor to reduce size of the capture. #16052

Closed
opened 2026-01-31 04:56:05 +00:00 by claunia · 2 comments
Owner

Originally created by @Zachary-Rude on GitHub (Dec 4, 2021).

I'm trying to build Windows Terminal from source to use it as the basis for the upcoming Zach Inc. Terminal.

However, when I try to build it, I get this issue's namesake error.

Expected Behavior

I'm expecting the terminal to build and run successfully.

Actual Behavior

Instead, I get this error:

error

Originally created by @Zachary-Rude on GitHub (Dec 4, 2021). I'm trying to build Windows Terminal from source to use it as the basis for the upcoming Zach Inc. Terminal. However, when I try to build it, I get this issue's namesake error. ## Expected Behavior I'm expecting the terminal to build and run successfully. ## Actual Behavior Instead, I get this error: ![error](https://user-images.githubusercontent.com/84681078/144721619-d833a28a-f924-40da-a36d-4e27e65747b5.png)
Author
Owner

@zadjii-msft commented on GitHub (Dec 6, 2021):

Have you changed anything? I'm assuming that's the settings reload lambda in AppLogic::_RegisterSettingsChange? Maybe you're compiling with an older toolset version, or an older compiler version? I know I recently tried expanding that lamba and got a similar warning.

The CI seems to build perfectly well on main, so I'm guessing that this is related to some local change you've made.

@zadjii-msft commented on GitHub (Dec 6, 2021): Have you changed anything? I'm assuming that's the settings reload lambda in `AppLogic::_RegisterSettingsChange`? Maybe you're compiling with an older toolset version, or an older compiler version? I know I recently tried expanding that lamba and got a similar warning. The CI seems to build [perfectly well](https://github.com/microsoft/terminal/runs/4404178720) on `main`, so I'm guessing that this is related to some local change you've made.
Author
Owner

@ghost commented on GitHub (Dec 10, 2021):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (Dec 10, 2021): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16052