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

Compilation flags on rasbperry pi #7

Open
sibitu opened this issue Apr 27, 2020 · 2 comments
Open

Compilation flags on rasbperry pi #7

sibitu opened this issue Apr 27, 2020 · 2 comments

Comments

@sibitu
Copy link

sibitu commented Apr 27, 2020

On raspberry pi gcc has version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1+deb9u1)
and flags -Wrestrict -Wduplicated-branches -Wstringop-overflow=4 are not recognized.

gcc: error: unrecognized command line option ‘-Wduplicated-branches’; did you mean ‘-Wduplicated-cond’?
gcc: error: unrecognized command line option ‘-Wrestrict’; did you mean ‘-mrestrict-it’?
gcc: error: unrecognized command line option ‘-Wstringop-overflow=4’; did you mean ‘-Wstrict-overflow=’?

somnisoft added a commit that referenced this issue Apr 28, 2020
@somnisoft
Copy link
Owner

That Makefile should work now for older gcc.

@sibitu
Copy link
Author

sibitu commented Apr 28, 2020 via email

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

2 participants