Skip to content

Conversation

@lum1n0us
Copy link
Contributor

To fix below errors reported by clang-17

variable-sized object may not be initialized

clang-17 is the default version on MacOS Tahoe(26.2) on AppleM1

```
variable-sized object may not be initialized
```

clang-17 is the default version on MacOS Tahoe(26.2) on AppleM1
@lum1n0us lum1n0us added the bug-fix Determine if this PR addresses a bug. It will be used by scripts to classify PRs. label Jan 28, 2026
@TianlongLiang
Copy link
Contributor

I think we'd better not to use heap memory. I am not sure if it will be correctly collected when it's not in the happy path(e.g., when a ASSERT fail)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix Determine if this PR addresses a bug. It will be used by scripts to classify PRs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants