Skip to content

Random values in struct padding #102460

Closed Answered by Ollhax
Ollhax asked this question in Q&A
May 20, 2024 · 4 comments · 18 replies
Discussion options

You must be logged in to vote

I appreciate everyone's input about this issue! In the end I decided to enforce Pack=1 on my unit data structs to avoid the padding garbage.

Replies: 4 comments 18 replies

Comment options

You must be logged in to vote
8 replies
@EgorBo
Comment options

@Clockwork-Muse
Comment options

@jakobbotsch
Comment options

@Ollhax
Comment options

@jakobbotsch
Comment options

Comment options

You must be logged in to vote
1 reply
@jakobbotsch
Comment options

Comment options

You must be logged in to vote
2 replies
@huoyaoyuan
Comment options

@Clockwork-Muse
Comment options

Comment options

You must be logged in to vote
7 replies
@Clockwork-Muse
Comment options

@Ollhax
Comment options

@Clockwork-Muse
Comment options

@Ollhax
Comment options

@Clockwork-Muse
Comment options

Answer selected by Ollhax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants