tinyproxy / tinyproxy

tinyproxy - a light-weight HTTP/HTTPS proxy daemon for POSIX operating systems
GNU General Public License v2.0
4.67k stars 645 forks source link

configure: fix check for valid compiler flags with Clang #537

Closed brad0 closed 1 month ago

brad0 commented 1 month ago

By default Clang reports unknown compiler flags as warnings thus the valid compiler flags check fails to work properly. Clang needs to have -Werror passed.

rofl0r commented 1 month ago

you gotta be kidding. you prefer to break anybody's build (even yours, when the next clang version comes out and has yet another new warning added) that gets any warning, despite how harmless or bogus it may be , just so the tinyproxy build you currently have appeals to your aesthetic sense of wanting a warning-free terminal in front of you. just use CFLAGS="-Werror-unknown-warning-option" ./configure to make your build beautiful enough for your senses. (from #536)