Skip to content

Fix Dash build for Arch Linux with GCC 11.1#4398

Merged
UdjinM6 merged 1 commit intodashpay:developfrom
dzutto:fix-gcc-11
Sep 18, 2021
Merged

Fix Dash build for Arch Linux with GCC 11.1#4398
UdjinM6 merged 1 commit intodashpay:developfrom
dzutto:fix-gcc-11

Conversation

@dzutto
Copy link

@dzutto dzutto commented Sep 7, 2021

The SignatureHash() template function is declared in a header but
defined in a .cpp file. That means only its instantiations are available
from outside.

For some reason, GCC 11.1 on Arch Linux doesn't see implicit
instantiations for CTransaction and CMutableTransaction.
Define these explicitly to make the compiler happy.

Signed-off-by: Dzutte dzutte.tomsk@gmail.com

The SignatureHash() template function is declared in a header but
defined in a .cpp file. That means only its instantiations are available
from outside.

For some reason, GCC 11.1 on Arch Linux doesn't see implicit
instantiations for CTransaction and CMutableTransaction.
Define these explicitly to make the compiler happy.

Signed-off-by: Dzutte <dzutte.tomsk@gmail.com>
@kwvg
Copy link
Collaborator

kwvg commented Sep 17, 2021

utACK

Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

utACK for squash merge

Seems fine to me 🤷

@PastaPastaPasta PastaPastaPasta added this to the 18 milestone Sep 17, 2021
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

utACK

@UdjinM6 UdjinM6 merged commit db505dc into dashpay:develop Sep 18, 2021
gades pushed a commit to cosanta/cosanta-core that referenced this pull request Mar 9, 2023
The SignatureHash() template function is declared in a header but
defined in a .cpp file. That means only its instantiations are available
from outside.

For some reason, GCC 11.1 on Arch Linux doesn't see implicit
instantiations for CTransaction and CMutableTransaction.
Define these explicitly to make the compiler happy.

Signed-off-by: Dzutte <dzutte.tomsk@gmail.com>
gades pushed a commit to piratecash/pirate that referenced this pull request Dec 9, 2023
The SignatureHash() template function is declared in a header but
defined in a .cpp file. That means only its instantiations are available
from outside.

For some reason, GCC 11.1 on Arch Linux doesn't see implicit
instantiations for CTransaction and CMutableTransaction.
Define these explicitly to make the compiler happy.

Signed-off-by: Dzutte <dzutte.tomsk@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants