somnisoft / smtp-client

SMTP Client Library in C
Creative Commons Zero v1.0 Universal
109 stars 31 forks source link

Compilation flags on rasbperry pi #7

Open sibitu opened 4 years ago

sibitu commented 4 years ago

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 commented 4 years ago

That Makefile should work now for older gcc.

sibitu commented 4 years ago

Thank you :)

wt., 28 kwi 2020, 14:27 użytkownik somnisoft notifications@github.com napisał:

That Makefile should work now for older gcc.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/somnisoft/smtp-client/issues/7#issuecomment-620607071, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWAJI7OO63637JRMWFB5VLRO3KSPANCNFSM4MSFGFWA .