Visible to Intel only — GUID: GUID-F5430C0C-3100-4A65-BF7D-BB72498F091E
Visible to Intel only — GUID: GUID-F5430C0C-3100-4A65-BF7D-BB72498F091E
Wreturn-type
Determines whether warnings are issued when a function is declared without a return type, when the definition of a function returning void contains a return statement with an expression, or when the closing brace of a function returning non-void is reached.
Linux: |
-Wreturn-type -Wno-return-type |
Windows: |
None |
None
ON for one condition |
A warning is issued when the closing brace of a function returning non-void is reached. |
This option determines whether warnings are issued for the following:
When a function is declared without a return type
When the definition of a function returning void contains a return statement with an expression
When the closing brace of a function returning non-void is reached
Specify -Wno-return-type if you do not want to see warnings about the above diagnostics.
None