-
Notifications
You must be signed in to change notification settings - Fork 790
Closed as not planned
Closed as not planned
Copy link
Description
I ran into the OpenSSL build failure recently with -Werror
. Out of curiosity, I looked at the issue tracker and it seems like the use of -Werror
is a source of repeated build problems. Some examples:
- OpenSSL 1.1.1q failing to build #1998 due to -Werror + -Wimplicit-function-declaration in OpenSSL
- Installing 2.6.7 on macOS 11.2.3 fails with implicit-function-declaration error #1747 due to -Werror + -Wimplicit-function-declaration in Ruby itself, I think
- installing older Ruby versions on OSX after XCode 12 #1489 due to -Werror + -Wimplicit-function-declaration in OpenSSL
- This had a dupe: Can't install ruby 2.2.10 #1764
- error: implicit declaration of function 'ffi_prep_closure' on M1 macOS Big Sur ffi/ffi#869 due to -Werror + -Wimplicit-function-declaration in Ruby FFI
- Dupe of this GitHub issue: Can't install another version of ruby #1709 (comment) (converted to Discussion Can't install another version of ruby #1870)
- Another dupe: 2.6.6 on ARM64 #1699 (converted to Discussion 2.6.6 on ARM64 #1946)
Whenever something like this happens, it ends up wasting time for a bunch of people as evidenced by these threads, and it's not clear (at least, to me) what the benefit of having that error is if someone is going to recommend (the very reasonable) workaround of using -Wno-error=implicit-function-declaration
. Would it make sense to change the default, by adding a -Wno-error
or -Wno-error=implicit-function-declaration
prefix to the appropriate environment variables?
c3r0 and starrybleu
Metadata
Metadata
Assignees
Labels
No labels