Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-26B5FB92-4F53-43C3-8B74-4ADE2BED2FF9
Visible to Intel only — GUID: GUID-26B5FB92-4F53-43C3-8B74-4ADE2BED2FF9
Wshadow
Determines whether a warning is issued when a variable declaration hides a previous declaration.
Syntax
Linux: |
-Wshadow -Wno-shadow |
Windows: |
/Wshadow /Wno-shadow |
Arguments
None
Default
Wno-shadow |
No warning is issued when a variable declaration hides a previous declaration. |
Description
This option determines whether a warning is issued when a variable declaration hides a previous declaration. Same as -ww1599.
IDE Equivalent
Alternate Options
None