This change explicitly adds -Werror to the CFLAGS. Due to the way that the ADD_C_FLAG_IF_SUPPORTED() macro was mangling the flag name to convert it into a define name, any warning that had a dash in its name was not being correctly enabled. Additionally, any flag that is enabled implicitly by the compiler (like -Wunused-result and -Wdeprecated-declarations) would not cause an error unless they were explicitly enabled with the ENABLE_WARNINGS() macro.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| AddCFlagIfSupported.cmake | Loading commit data... | |
| CheckPrototypeDefinition.c.in | Loading commit data... | |
| CheckPrototypeDefinition.cmake | Loading commit data... | |
| EnableWarnings.cmake | Loading commit data... | |
| FindCoreFoundation.cmake | Loading commit data... | |
| FindGSSAPI.cmake | Loading commit data... | |
| FindHTTP_Parser.cmake | Loading commit data... | |
| FindIconv.cmake | Loading commit data... | |
| FindPkgLibraries.cmake | Loading commit data... | |
| FindSecurity.cmake | Loading commit data... | |
| FindStatNsec.cmake | Loading commit data... | |
| FindmbedTLS.cmake | Loading commit data... | |
| IdeSplitSources.cmake | Loading commit data... |