Skip to content

Conversation

@martinezjavier
Copy link
Contributor

Building with GCC 10.2.1 fails due linking errors caused by having multiple
definitions of the variables defined in the source/constants.h header file.

Fix this by moving the variables definition to the source/constants.c file,
to avoid the variables to be defined each time that the header is included.

While being there, use a single variable instead of having one for each
object that is added to the module.

Building with GCC 10.2.1 fails due linking errors caused by having multiple
definitions of the variables defined in the source/constants.h header file.

Fix this by moving the variables definition to the source/constants.c file,
to avoid the variables to be defined each time that the header is included.

While being there, use a single variable instead of having one for each
object that is added to the module.
@martinezjavier
Copy link
Contributor Author

@pdp7 any comments on this pull-request ?

Copy link
Collaborator

@pdp7 pdp7 left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

@keenanjohnson
Copy link

FYI we just encountered the issue fixed here in the mention above. We were able to work around it by downgrading our gcc version, but it's a shame a new version of this library hasn't been released yet!

Any way we can support pushing out a new release of this?

@JasperCraeghs
Copy link

My colleagues and I are also interested in a relese of this bug fix.

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