Skip to content

Any gcc options to modify sizeof a type? #9829

Answered by mati865
rorySomething asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not aware of such option and doubt somebody has created it.

On Windows long is 32-bit long so the correct fix is to use long long in your code.

Replies: 2 comments 4 replies

Comment options

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

Answer selected by rorySomething
Comment options

You must be logged in to vote
3 replies
@rorySomething
Comment options

@jeremyd2019
Comment options

@rorySomething
Comment options

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