frugalos / frugalos/liberasurecode

Fails to build liberasurecode when CC=gcc

Open
#7 1 comment 0 reactions 1 assignee Claimed by @yuezato View on GitHub
Dominant language
Rust
Stars
21
Forks
7
PR merge metrics
No merged PRs in 30d

Description

On MacOS, if gcc is installed, `CC=gcc cargo build` or simply `cargo build` fails with the error log like below:
https://gist.github.com/koba-e964/c9ff5ab39b0ef510d0a893af54f4c0a4

Probably this is because of adding an option `-Wno-error=address-of-packed-member` here, which is valid in clang but not in gcc.
https://github.com/frugalos/liberasurecode/blob/c853227905aab1822b3275c2405ecbc632bc1b05/install_deps.sh#L44-L46

Fixing this should be easy. Should I do this?

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.