erigontech / erigontech/silkworm

error: In the GNU C Library, "major" is defined

Open
#636 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
318
Forks
84
PR merge metrics
No merged PRs in 30d

Description

error: In the GNU C Library, "major" is defined
by . For historical compatibility, it is
currently defined by as well, but we plan to
remove this soon. To use "major", include
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including . [-Werror]
1182 | ::PROTOBUF_NAMESPACE_ID::uint32 major() const;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


error: In the GNU C Library, "minor" is defined
by . For historical compatibility, it is
currently defined by as well, but we plan to
remove this soon. To use "minor", include
directly. If you did not intend to use a system-defined macro
"minor", you should undefine it after including . [-Werror]
1191 | ::PROTOBUF_NAMESPACE_ID::uint32 minor() const;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.