Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error under GCC 11 ( #146

Open
selkfoster opened this issue Jan 11, 2022 · 3 comments
Open

Build error under GCC 11 ( #146

selkfoster opened this issue Jan 11, 2022 · 3 comments

Comments

@selkfoster
Copy link
Contributor

Hi friends,

There is a build error trying to compile hldig-20210616_9427c9cd (the current one) with GCC 11 (snapshot 11-20220101).

The full log at: http://sprunge.us/dBqom9

@selkfoster
Copy link
Contributor Author

Hi again,

Passing -std=c++14 to the CXXFLAGS solves the build issue against GCC 11...

@iandiver
Copy link

Another method I used was to rename the typedef for "byte" to "hlbyte" in hlword/WordBitCompress.h (typedef unsigned char hlbyte;) and to update corresponding files that use it (hlword/WordDBPage.cc and hlword/WordBitCompress.cc). This enabled compilation with GCC 11 without changing CXXFLAGS.

@solbu
Copy link
Owner

solbu commented May 17, 2023

Patches/Pull Requests are welcome. :-)

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

No branches or pull requests

3 participants