10.5.5 Warnings

Table 10.6

Warnings

W0511105

[Message]

"path" specified by the "character string" option is a file. Specify a folder.

W0511106

[Message]

The folder "folder" specified by the "character string" option is not found.

W0511123

[Message]

The "character string2" option is ignored when the "character string1" option is specified at the same time.

W0511143

[Message]

The "-Xfloat" option is ignored because specified device does not have FPU.

W0511146

[Message]

"symbol name" specified in the "character string" option is not allowed for a preprocessor macro.

W0511147

[Message]

The "character string" option is specified more than once. The latter is valid.

W0511149

[Message]

The "character string2" option is ignored when the "character string1" option and the "character string2" option are inconsistent.

W0511151

[Message]

The "character string2" option is ignored when the "character string1" option is not specified.

W0511153

[Message]

Optimization itemoptions were cleared when "-Ocharacter string" option is specified. Optimization itemoptions need to specify after "-Ocharacter string" option.

W0511164

[Message]

[CC-RH] Dupulicate file name. "file-name".

[Explanation]

[CC-RH] The same file name was specified more than once in a command line.

CC-RH is not capable of handling multiple instances of the same file name.

Only the last file name to have been specified is valid.

[Message]

Dupulicate file name. "file-name".

W0511179

[Message]

"character string" option has no effect in standard licence.

[Action by User]

The "character string" option is invalid with the startup license.

W0520001

[Message]

Last line of file ends without a newline.

[Action by User]

Add a line break.

W0520009

[Message]

Nested comment is not allowed.

[Action by User]

Eliminate nesting.

W0520011

[Message]

Unrecognized preprocessing directive.

W0520012

[Message]

Parsing restarts here after previous syntax error.

W0520014

[Message]

Extra text after expected end of preprocessing directive.

W0520021

[Message]

Type qualifiers are meaningless in this declaration.

[Explanation]

Type qualifiers are meaningless in this declaration. Ignored.

W0520026

[Message]

Too many characters in character constant.

[Explanation]

Too many characters in character constant. Character constants cannot contain more than one character.

W0520027

[Message]

Character value is out of range.

W0520038

[Message]

Directive is not allowed -- an #else has already appeared.

[Explanation]

Since there is a preceding #else, this directive is illegal.

W0520039

[Message]

Division by zero.

W0520042

[Message]

Operand types are incompatible ("type1" and "type2").

W0520061

[Message]

Integer operation result is out of range.

W0520062

[Message]

Shift count is negative.

[Explanation]

Shift count is negative. The behavior will be undefined in ANSI-C.

W0520063

[Message]

Shift count is too large.

W0520064

[Message]

Declaration does not declare anything.

W0520068

[Message]

Integer conversion resulted in a change of sign.

W0520069

[Message]

Integer conversion resulted in truncation.

W0520076

[Message]

Argument to macro is empty.

W0520077

[Message]

This declaration has no storage class or type specifier.

W0520082

[Message]

Storage class is not first.

[Explanation]

Storage class is not first. Specify the declaration of the storage class first.

W0520099

[Message]

A declaration here must declare a parameter.

W0520108

[Message]

Signed bit field of length 1.

W0520111

[Message]

Statement is unreachable.

W0520117

[Message]

Non-void "function name" should return a value.

W0520127

[Message]

Expected a statement.

W0520128

[Message]

Loop is not reachable from preceding code.

W0520138

[Message]

Taking the address of a register variable is not allowed.

W0520144

[Message]

A value of type "type1" cannot be used to initialize an entity of type "type2".

W0520147

[Message]

Declaration is incompatible with "declaration" (declared at line number).

W0520152

[Message]

Conversion of nonzero integer to pointer.

W0520161

[Message]

Unrecognized #pragma.

W0520165

[Message]

Too few arguments in function call.

W0520167

[Message]

Argument of type "type1" is incompatible with parameter of type "type2".

W0520170

[Message]

Pointer points outside of underlying object.

W0520171

[Message]

Invalid type conversion.

W0520172

[Message]

External/internal linkage conflict with previous declaration.

W0520173

[Message]

Floating-point value does not fit in required integral type.

W0520174

[Message]

Expression has no effect.

[Explanation]

Expression has no effect. It is invalid.

W0520175

[Message]

Subscript out of range.

W0520177

[Message]

Type "symbol" was declared but never referenced.

W0520179

[Message]

Right operand of "%" is zero.

W0520180

[Message]

Argument is incompatible with formal parameter.

W0520181

[Message]

Argument is incompatible with corresponding format string conversion.

W0520185

[Message]

Dynamic initialization in unreachable code.

W0520186

[Message]

Pointless comparison of unsigned integer with zero.

W0520187

[Message]

Use of "=" where "==" may have been intended.

W0520188

[Message]

Enumerated type mixed with another type.

W0520191

[Message]

Type qualifier is meaningless on cast type.

W0520192

[Message]

Unrecognized character escape sequence.

W0520224

[Message]

The format string requires additional arguments.

W0520225

[Message]

The format string ends before this argument.

W0520226

[Message]

Invalid format string conversion.

W0520229

[Message]

Bit field cannot contain all values of the enumerated type.

W0520231

[Message]

Declaration is not visible outside of function.

W0520236

[Message]

Controlling expression is constant.

W0520260

[Message]

Explicit type is missing ("int" assumed).

W0520301

[Message]

typedef name has already been declared (with same type).

W0520375

[Message]

Declaration requires a typedef name.

W0520494

[Message]

Declaring a void parameter list with a typedef is nonstandard.

W0520514

[Message]

Pointless comparison of unsigned integer with a negative constant.

W0520520

[Message]

Initialization with "{...}" expected for aggregate object.

W0520546

[Message]

Transfer of control bypasses initialization of: type "symbol" (declared at line number).

W0520549

[Message]

Type "symbol" is used before its value is set.

W0520550

[Message]

Type "symbol" was set but never used.

W0520618

[Message]

struct or union declares no named members.

W0520676

[Message]

Using out-of-scope declaration of type "symbol" (declared at line number).

W0520815

[Message]

Type qualifier on return type is meaningless.

W0520870

[Message]

Invalid multibyte character sequence.

W0520902

[Message]

Type qualifier ignored.

W0520993

[Message]

Subtraction of pointer types "type name1" and "type name2" is nonstandard.

W0521000

[Message]

A storage class may not be specified here.

W0521053

[Message]

Conversion from integer to smaller poinster.

W0521056

[Message]

Returning pointer to local variable.

W0521105

[Message]

#warning directive: character string.

[Explanation]

There is a "#warning" directive in the source file.

W0521396

[Message]

White space between backslash and newline in line splice ignored.

W0521422

[Message]

Multicharacter character literal (potential portability problem).

W0521644

[Message]

Definition at end of file not followed by a semicolon or a declarator.

[Explanation]

The declaration at the end of the file lacked a semicolon to indicate its termination.

W0521649

[Message]

White space is required between the macro name "macro name" and its replacement text

[Action by User]

Insert a space between the macro name and the text to be replaced.

W0523042

[Message]

Using "function item" function at influence the code generation of "SuperH" compiler

[Action by User]

The use of "function item" may affect compatibility with the SuperH compiler. Confirm details of differences in the specification.

W0523060

[Message]

Incompatible section specified

[Explanation]

The same identifier was declared several times and different sections were specified for individual declarations. Only the first section declaration is valid.

W0523061

[Message]

argument is incompatible with formal parameter of intrinsic function

W0523062

[Message]

return value type does not match the intrinsic function

W0530809

[Message]

const qualifier for variable "variable-name" differs between files.

W0530811

[Message]

Type of symbol "symbol-name" differs between files.

W0550001

[Message]

Too many arguments.

[Action by User]

Check the actual arguments.

W0550005

[Message]

Illegal "option" option's symbol "symbol", ignored.

[Action by User]

Check the option specification symbols.

W0550011

[Message]

Illegal operand (range error in immediate).

[Explanation]

Illegal operand (range error in immediate).

Only the effective lower-order digits will be recognized as being specified, and the assembly will continue.

[Action by User]

Check the immediate value.

W0550012

[Message]

Operand overflow.

[Explanation]

Operand overflow.

Only the effective lower-order digits will be recognized as being specified, and the assembly will continue.

[Action by User]

Check the operand value.

W0550013

[Message]

register used as kind register.

[Action by User]

Check the register specification.

W0550014

[Message]

Illegal list value, ignored.

[Explanation]

Illegal list value, ignored.

Only the effective lower-order digits will be recognized as being specified, and the assembly will continue.

[Action by User]

Check the register list value.

W0550015

[Message]

Illegal register number, ignored.

[Explanation]

Illegal register number, ignored.

The invalid register will be ignored, and the assembly will continue.

[Action by User]

Check the register list register.

W0550017

[Message]

Base register is ep(r30) only.

[Action by User]

Check the base register specification.

W0550018

[Message]

Illegal regID for inst.

[Action by User]

Check the system register number.

W0550019

[Message]

Illegal operand (immediate must be multiple of 4).

[Explanation]

Illegal operand (immediate must be multiple of 4).

The number is rounded down, and assembly continues.

[Action by User]

Check the operand value.

W0550021

[Message]

string already specified, ignored.

[Explanation]

string already specified, ignored. The previously specified number will be used. This specification will be ignored.

[Action by User]

Check the number of registers.

W0550026

[Message]

Illegal register number, aligned odd register(rXX) to be even register(rYY).

[Explanation]

Odd-numbered registers (r1, r3, ... r31) have been specified.

The only general-purpose registered that can be specified are even-numbered (r0, r2, r4, ... r30).

Assembly will continue, assuming that even-numbered registers (r0, r2, r4, ... r30) have been specified.

[Action by User]

Check the register specification.

W0550028

[Message]

Duplicated reg_mode, ignored $REG_MODE.

[Explanation]

Duplicated reg_mode, ignored $REG_MODE. The "-Xreg_mode" option takes precedence, and register modes specified via the $REG_MODE control instruction will be ignored.

[Action by User]

Check the option specification.

W0550031

[Message]

identifier undefined.

[Action by User]

Check the identifier.

W0550605

[Message]

"path-name" specified by the "character string" option is a file. Specify a folder.

W0550606

[Message]

The folder "folder-name" specified by the "character string" option is not found.

W0550645

[Message]

"character string2" specified in the "character string1" option is not available.

W0550647

[Message]

The "character string" option is specifiedmore than once. The latter is valid.

W0550649

[Message]

The "character string2" option is ignored when the "character string1" option and the "character string2" option are inconsistent.

W0561000

[Message]

Option "option" ignored

[Explanation]

The option named option is invalid, and is ignored.

W0561001

[Message]

Option "option1" is ineffective without option "option2"

[Explanation]

option1 needs specifying option2. option1 is ignored.

W0561002

[Message]

Option "option1" cannot be combined with option "option2"

[Explanation]

option1 and option2 cannot be specified simultaneously. option1 is ignored.

W0561003

[Message]

Divided output file cannot be combined with option "option"

[Explanation]

option and the option to divide the output file cannot be specified simultaneously. option is ignored. The first input file name is used as the output file name.

W0561004

[Message]

Fatal level message cannot be changed to other level : "number"

[Explanation]

The level of an abort error message cannot be changed. The specification of number is ignored. Only errors at the information/warning/error level can be changed with the change_message option.

W0561005

[Message]

Subcommand file terminated with end option instead of exit option

[Explanation]

There is no processing specification following the end option. Processing is done with the exit option assumed.

W0561006

[Message]

Options following exit option ignored

[Explanation]

All options following the exit option is ignored.

W0561007

[Message]

Duplicate option : "option"

[Explanation]

Duplicate specifications of option were found. Only the last specification is effective.

W0561008

[Message]

Option "option" is effective only in cpu type "CPU type"

[Explanation]

option is effective only in CPU type. option is ignored.

W0561010

[Message]

Duplicate file specified in option "option" : "file name"

[Explanation]

option was used to specify the same file twice. The second specification is ignored.

W0561011

[Message]

Duplicate module specified in option "option" : "module"

[Explanation]

option was used to specify the same module twice. The second specification is ignored.

W0561012

[Message]

Duplicate symbol/section specified in option "option" : "name"

[Explanation]

option was used to specify the same symbol name or section name twice. The second specification is ignored.

W0561013

[Message]

Duplicate number specified in option "option" : "number"

[Explanation]

option was used to specify the same error number. Only the last specification is effective.

W0561100

[Message]

Cannot find "name" specified in option "option"

[Explanation]

The symbol name or section name specified in option cannot be found. name specification is ignored.

W0561101

[Message]

"name" in rename option conflicts between symbol and section

[Explanation]

name specified by the rename option exists as both a section name and as a symbol name.

Rename is performed for the symbol name only in this case.

W0561102

[Message]

Symbol "symbol" redefined in option "option"

[Explanation]

The symbol specified by option has already been defined. Processing is continued without any change.

W0561103

[Message]

Invalid address value specified in option "option" : "address"

[Explanation]

address specified by option is invalid. address specification is ignored.

W0561104

[Message]

Invalid section specified in option "option" : "section"

[Explanation]

An invalid section is specified in option.

[Action by User]

Confirm the following:

The "-output" option does not accept specification of a section that has no initial value.

W0561110

[Message]

Entry symbol "sybol" in entry option conflicts

[Explanation]

A symbol other than symbol specified by the entry option is specified as the entry symbol on compiling or assembling. The option specification is given priority.

W0561120

[Message]

Section address is not assigned to "section"

[Explanation]

section has no addresses specified for it. section will be located at the rearmost address.

[Action by User]

Specify the address of the section using the rlink option "-start".

W0561121

[Message]

Address cannot be assigned to absolute section "section" in start option

[Explanation]

section is an absolute address section. An address assigned to an absolute address section is ignored.

W0561122

[Message]

Section address in start option is incompatible with alignment : "section"

[Explanation]

The address of section specified by the start option conflicts with memory boundary alignment requirements. The section address is modified to conform to boundary alignment.

W0561130

[Message]

Section attribute mismatch in rom option : "section1,section2"

[Explanation]

The attributes and boundary alignment of section1 and section2 specified by the rom option are different. The larger value is effective as the boundary alignment of section2.

W0561140

[Message]

Load address overflowed out of record-type in option "option"

[Explanation]

A record type smaller than the address value was specified. The range exceeding the specified record type has been output as different record type.

W0561141

[Message]

Cannot fill unused area from "address" with the specified value

[Explanation]

Specified data cannot be output to addresses higher than address because the unused area size is not a multiple of the value specified by the space option.

W0561150

[Message]

Sections in "option" option have no symbol

[Explanation]

The section specified in option does not have an externally defined symbol.

W0561160

[Message]

Undefined external symbol "symbol"

[Explanation]

An undefined external symbol symbol was referenced.

W0561180

[Message]

Directive command "control directive" is duplicated in "file"

[Explanation]

control directive is written in multiple source files.

The control directive cannot be written more than once across files.

W0561181

[Message]

Fail to write "type of output code"

[Explanation]

Failed to write type of output code to the output file.

The output file may not contain the address to which type of output code should be output.

Type of output code:

When failed to write CRC code : "CRC Code"

W0561182

[Message]

Cannot generate vector table section "section"

[Explanation]

The input file contains vector table section. The optimizing linker does not create section automatically.

W0561183

[Message]

Interrupt number "vector number" of "section" is defined in input file

[Explanation]

The vector number specified by the VECTN option is defined in the input file.

Processing is continued with priority given on the definition in the input file.

W0561190

[Message]

Section "section" was moved other area specified in option "cpu=<attribute>"

[Explanation]

The object size was modified through optimization of access to external variables. Accordingly, section in the area specified by the next cpu specification was moved.

W0561191

[Message]

Area of "FIX" is within the range of the area specified by "cpu=<attribute>" :"<start>-<end>"

[Explanation]

In the cpu option, the address range of <start>-<end> specified for FIX overlapped with that specified for another memory type. The setting for FIX is valid.

W0561192

[Message]

Bss Section "section name" is not initialized

[Explanation]

section name, which is a data section without an initial value, cannot be initialized by the initial setup program.

[Action by User]

Check the address range specified with -cpu and the sizes of pointer variables.

W0561193

[Message]

Section "section name" specified in option "option" is ignored

[Explanation]

option specified for the section newly created due to -cpu=stride is invalid.

[Action by User]

Do not specify option for the newly created section.

W0561194

[Message]

Section "section" in relocation "file"-"section"-"offset" is changed

[Explanation]

The relocation section file offset now refers to a location in the new section created with the division of section.

[Action by User]

To prevent division, declare the contiguous_section option for section.

W0561200

[Message]

Backed up file "file1" into "file2"

[Explanation]

Input file file1 was overwritten. A backup copy of the data in the previous version of file1 was saved in file2.

W0561300

[Message]

Option "option" is ineffective without debug information

[Explanation]

There is no debugging information in the input files. The "option" has been ignored.

[Action by User]

Check whether the relevant option was specified at compilation or assembly.

W0561301

[Message]

No inter-module optimization information in input files

[Explanation]

No inter-module optimization information is present in the input files. The optimize option has been ignored.

[Action by User]

Check whether the goptimize option was specified at compilation or assembly.

W0561302

[Message]

No stack information in input files

[Explanation]

No stack information is present in the input files. The stack option is ignored. If all input files are assembler output files, the stack option is ignored.

W0561305

[Message]

Entry address in "file" conflicts : "address"

[Explanation]

Multiple files with different entry addresses are input.

W0561310

[Message]

"section" in "file" is not supported in this tool

[Explanation]

An unsupported section was present in file. section has been ignored.

W0561311

[Message]

Invalid debug information format in "file"

[Explanation]

Debugging information in file is not dwarf2. The debugging information has been deleted.

W0561320

[Message]

Duplicate symbol "symbol" in "file"

[Explanation]

The symbol named symbol is duplicated. The symbol in the first file input is given priority.

W0561321

[Message]

Entry symbol "symbol" in "file" conflicts

[Explanation]

Multiple object files containing more than one entry symbol definition were input. Only the entry symbol in the first file input is effective.

W0561322

[Message]

Section alignment mismatch : "section"

[Explanation]

Sections with the same name but different boundary alignments were input. Only the largest boundary alignment specification is effective.

W0561323

[Message]

Section attribute mismatch : "section"

[Explanation]

Sections with the same name but different attributes were input. If they are an absolute section and relative section, the section is treated as an absolute section. If the read/write attributes mismatch, both are allowed.

W0561324

[Message]

Symbol size mismatch : "symbol" in "file"

[Explanation]

Common symbols or defined symbols with different sizes were input. A defined symbol is given priority. In the case of two common symbols, the symbol in the first file input is given priority.

W0561325

[Message]

Symbol attribute mismatch : "symbol":"file"

[Explanation]

The attribute of symbol in file does not match the attribute of the same-name symbol in other files.

[Action by User]

Check the symbol.

W0561326

[Message]

Reserved symbol "symbol"is defined in "file"

[Explanation]

Reserved symbol name symbol is defined in file.

W0561327

[Message]

Section alignment in option "aligned_section" is small : "section"

[Explanation]

Since the boundary alignment value specified for aligned_section is 16 which is smaller than that of section, the option settings made for that section are ignored.

W0561402

[Message]

Parentheses specified in option "start" with optimization

[Explanation]

Optimization is not available when parentheses "( )" are specified in the start option. Optimization has been disabled.

W0561410

[Message]

Cannot optimize "file"-"section" due to multi label relocation operation

[Explanation]

A section having multiple label relocation operations cannot be optimized. Section section in file has not been optimized.

W0561430

[Message]

Cannot generate effective bls file for compiler optimization

[Explanation]

An invalid bls file was created. This optimization is not available even if optimization of access to external variables (map option) is specified for compilation.

[Action by User]

The optimization of access to external variables (map option) in the compiler has the following restriction. Check if this restriction is applicable and modify the section allocation.

Access to external variables cannot be optimized in some cases if a data section is allocated immediately after a data section when the base option is specified for compilation.

Note: The bls file indicates the external symbol allocation information file. It contains the information to be used for the map option of the compiler.

W0561500

[Message]

Cannot check stack size

[Explanation]

There is no stack section, and so consistency of the stack size specified by the stack option on compiling cannot be checked.

[Action by User]

To check the consistency of the stack size on compiling, the goptimize option needs to be specified on compiling and assembling.

W0561501

[Message]

Stack size overflow : "stack size"

[Explanation]

The stack section size exceeded the stack size specified by the stack option on compiling.

[Action by User]

Either change the option used on compiling, or change the program so as to reduce the use of the stack.

W0561502

[Message]

Stack size in "file" conflicts with that in another file

[Explanation]

Different values for stack size are specified for multiple files.

[Action by User]

Check the options used on compiling.

W0561510

[Message]

Input file was compiled with option "smap" and option "map" is specified at linkage

[Explanation]

A file was compiled with smap specification.

[Action by User]

The file with smap specification should not be compiled with the map option specification in the second build processing.