[runtime] Adopt safer native compiler flags: Wignored-qualifiers - #24068
Conversation
Example warning: ``` macios/runtime/xamarin/runtime.h:232:14: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] 232 | const char * const xamarin_get_original_working_directory_path (); ``` References: * https://developer.apple.com/documentation/xcode/enabling-enhanced-security-for-your-app * https://releases.llvm.org/8.0.0/tools/clang/docs/ReleaseNotes.html#major-new-features (for -ftrivial-auto-var-init=zero) Contributes towards #23023.
β [CI Build #289a8a4] Build passed (Build packages) βPipeline on Agent |
β [PR Build #289a8a4] Build passed (Detect API changes) βPipeline on Agent |
β API diff for current PR / commitNET (empty diffs)β API diff vs stableNET (empty diffs)βΉοΈ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
π [CI Build #289a8a4] Test results πTest resultsβ All tests passed on VSTS: test results. π All 121 tests passed π Tests countsβ
cecil: All 1 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
Example warning:
References:
Contributes towards #23023.