Skip to content

Conversation

@sipa
Copy link
Member

@sipa sipa commented Feb 17, 2017

No description provided.

Copy link
Contributor

@gmaxwell gmaxwell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK.

@paveljanik
Copy link
Contributor

Compiles and works together with #9789.

ACK 5c8fd50

@laanwj
Copy link
Member

laanwj commented Feb 18, 2017

utACK 5c8fd50

@sipa
Copy link
Member Author

sipa commented Feb 18, 2017

To clarify: my GCC does not consider this to be a VLA, but at least some Clang versions do.

@laanwj
Copy link
Member

laanwj commented Feb 18, 2017

Well I think this makes the code clearer too, so it's a win in any case.

@maflcko
Copy link
Member

maflcko commented Feb 18, 2017

5c8fd50 gives same binaries with recent gcc on my arch.

utACK 5c8fd50

@laanwj laanwj merged commit 5c8fd50 into bitcoin:master Feb 19, 2017
laanwj added a commit that referenced this pull request Feb 19, 2017
5c8fd50 Avoid VLA in hash.h (Pieter Wuille)
laanwj pushed a commit that referenced this pull request Feb 28, 2017
Github-Pull: #9791
Rebased-From: 5c8fd50
codablock pushed a commit to codablock/dash that referenced this pull request Jan 26, 2018
5c8fd50 Avoid VLA in hash.h (Pieter Wuille)
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
5c8fd50 Avoid VLA in hash.h (Pieter Wuille)
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Feb 27, 2019
5c8fd50 Avoid VLA in hash.h (Pieter Wuille)
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants