mirror of
https://github.com/boostorg/spirit.git
synced 2026-01-19 04:42:11 +00:00
Fix GCC -Wshadow-local and MSVC C4457
GCC bug reported https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100608 Fixes #676
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -413,6 +413,11 @@ jobs:
|
||||
variant sanitize : <optimization>speed <debug-symbols>off <inlining>full
|
||||
<runtime-debugging>off ;
|
||||
|
||||
# Enable additional warnings
|
||||
toolset.flags gcc.compile OPTIONS <warnings>extra :
|
||||
-Wshadow-local
|
||||
: unchecked ;
|
||||
|
||||
# Ignore some warnings
|
||||
feature.feature known-warnings : suppress : optional incidental propagated ;
|
||||
toolset.flags gcc.compile OPTIONS <known-warnings>suppress :
|
||||
|
||||
Reference in New Issue
Block a user