Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1 ユーザーズマニュアル
製品コード
SW006021-1
Error and Warning Messages
2012 Microchip Technology Inc.
DS52053B-page 433
(733) bad string "*" in pragma "psect"
(Code Generator)
The code generator has been passed a pragma psect directive that has a badly
formed string, for example:
formed string, for example:
#pragma psect text /* redirect text psect into what? */
Maybe you meant something like:
#pragma psect text=special_text
(734) too many "psect" pragmas
(Code Generator)
Too many #pragma psect directives have been used.
(735) bad string "*" in pragma "stack_size"
(Code Generator)
The argument to the stack_size pragma is malformed. This pragma must be followed
by a number representing the maximum allowed stack size.
by a number representing the maximum allowed stack size.
(737) unknown argument "*" to pragma "switch"
(Code Generator)
The #pragma switch directive has been used with an invalid switch code generation
method. Possible arguments are: auto , simple and direct.
method. Possible arguments are: auto , simple and direct.
(739) error closing output file
(Code Generator)
The compiler detected an error when closing a file. Contact Microchip Technical
Support with details.
Support with details.
(740) zero dimension array is illegal
(Code Generator)
The code generator has been passed a declaration that results in an array having a
zero dimension.
zero dimension.
(741) bitfield too large (* bits)
(Code Generator)
The maximum number of bits in a bit-field is 8, the same size as the storage unit width.
struct {
unsigned flag : 1;
unsigned value : 12; /* oops -- that’s larger than 8 bits wide */
unsigned cont : 6;
} object;
(742) function "*" argument evaluation overlapped
(Linker)
A function call involves arguments which overlap between two functions. This could
occur with a call like:
occur with a call like:
void fn1(void)
{
fn3( 7, fn2(3), fn2(9)); /* Offending call */
}
char fn2(char fred)
{
return fred + fn3(5,1,0);
}
char fn3(char one, char two, char three)
{
return one+two+three;
}
where fn1 is calling fn3 , and two arguments are evaluated by calling fn2 , which in
turn calls fn3. The program structure should be modified to prevent this type of call
sequence.
turn calls fn3. The program structure should be modified to prevent this type of call
sequence.