-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fail build if compiling extensions raises warnings #1953
Comments
8 tasks
Had a look at ragel options that we can pass to the Rakefile in but nothing there for failing on warnings, any ideas on what other approach we can use?
btw I noticed when compiling via
Which can be fixed by adding the header file With the header file here is the output;
|
rubenochiavone
added a commit
to rubenochiavone/puma
that referenced
this issue
Nov 25, 2020
Make warning into errors and also fix all compiler warnings reported in mini_ssl source code.
8 tasks
rubenochiavone
added a commit
to rubenochiavone/puma
that referenced
this issue
Dec 1, 2020
Make warning into errors and also fix all compiler warnings reported in mini_ssl source code.
nateberkopec
pushed a commit
that referenced
this issue
Dec 1, 2020
* Fail build if compiling extensions raises warnings (#1953) Make warning into errors and also fix all compiler warnings reported in mini_ssl source code. * Fix some compiler warnings and errors reported by checks * Add MAKE_WARNINGS_INTO_ERRORS env variable MAKE_WARNINGS_INTO_ERRORS environment variable toggles whether a build should treat all warnings into errors or not. Move appending WERRORFLAG to cflags after OpenSSL methods verification because on some specifics builds this causes mkmf to wrongly detect methods in OpenSSL headers. * Add noentry to write date to avoid unused variables * Ignore implicit-fallthrough warnings Those warnings are related to ragel state machine generated code. * Enforce no warnings on GH Actions * Update History.md file reflecting latest changes
This was referenced Mar 8, 2021
This was referenced Mar 15, 2021
JuanitoFatas
pushed a commit
to JuanitoFatas/puma
that referenced
this issue
Sep 9, 2022
…2494) * Fail build if compiling extensions raises warnings (puma#1953) Make warning into errors and also fix all compiler warnings reported in mini_ssl source code. * Fix some compiler warnings and errors reported by checks * Add MAKE_WARNINGS_INTO_ERRORS env variable MAKE_WARNINGS_INTO_ERRORS environment variable toggles whether a build should treat all warnings into errors or not. Move appending WERRORFLAG to cflags after OpenSSL methods verification because on some specifics builds this causes mkmf to wrongly detect methods in OpenSSL headers. * Add noentry to write date to avoid unused variables * Ignore implicit-fallthrough warnings Those warnings are related to ragel state machine generated code. * Enforce no warnings on GH Actions * Update History.md file reflecting latest changes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: