6-6
EPSOn
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
6 C COMPilEr
example, when a multidimensional array is initialized, a warning is output if parentheses are not
used correctly for each dimension.
Example:
long l_Array_1[3][3] = { 0, 1, 2, 3, 4, 5, 6, 7, 8 };
(Warning is output.)
long l _ Array _ 2[3][3] = { { 0, 1, 2 }, { 3, 4, 5 }, { 6, 7, 8 } };
(No warning is output.)
-Wparentheses
Outputs a warning when omission of parentheses results in ambiguities in the description. For
example, a warning is output if “{ }” are omitted from a nested if statement.
-Wsequence-point
Outputs a warning in the case of the standard C language specification if a code described might
result in undefined behavior due to the absence of an accurate execution sequence indication.
Example:
i_Array[i_Val++] = i_Val;
-Wreturn-type
Outputs a warning when the return value format is defined as the default “int” format since it is
not specified when the function was defined. Also outputs a warning when no value is returned
when the return value is a function other than the void type.
-Wswitch
Outputs a warning when case statements do not exist for all enum values when the
switch
statement uses a variable of the enum type for the index. (If a default label exists, this warning is
not output.) Also outputs a warning when a case statement specifies a value outside the range of
enum type.
-Wunused-function
Outputs a warning when a static function is declared but not defined. Also outputs a warning when
a static function that is not inline is defined but not used.
-Wunused-label
Outputs a warning when a label is declared but not used.
-Wunused-variable
Outputs a warning when a static variable other than local variable or const is declared but not
used.
-Wunused-value
Outputs a warning when a calculation is performed even though the calculation result clearly will
not be used.
-Wunused
Same as all “-Wunused-xxxx” above in the enabled state.
-Wuninitialized
Outputs a warning when a local variable is used without initialization. This warning is not output
when
-O0
is selected.
Default:
The above warning options are disabled.
-mno-sjis-filt
Function: Disables the filter function for the Shift JIS code.
Description: This option disables the filter function for the Shift JIS code.
For detailed information on this filter function, refer to Section 6.5, “Filter Function for Shift JIS
Code.”
Default:
The preprocessor performs filtering for Shift JIS code.
Содержание S5U1C17001C
Страница 6: ......
Страница 17: ...1 General S5U1C17001C Manual 1 General ...
Страница 18: ......
Страница 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Страница 22: ......
Страница 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Страница 30: ......
Страница 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Страница 104: ......
Страница 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Страница 122: ......
Страница 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Страница 366: ......
Страница 385: ...7 Library S5U1C17001C Manual 7 library ...
Страница 386: ......
Страница 404: ...7 18 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 7 liBrary THIS PAGE IS BLANK ...
Страница 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Страница 406: ......
Страница 438: ...8 32 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 8 aSSEMBlEr THIS PAGE IS BLANK ...
Страница 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Страница 440: ......
Страница 448: ...9 8 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 9 linkEr THIS PAGE IS BLANK ...
Страница 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Страница 450: ......
Страница 625: ...10 174 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 10 DEBUggEr THIS PAGE IS BLANK ...
Страница 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Страница 627: ......
Страница 695: ...11 68 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 11 OTHEr TOOlS THIS PAGE IS BLANK ...
Страница 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...