Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1 用户手册
产品代码
SW006021-1
Error and Warning Messages
2012 Microchip Technology Inc.
DS52053B-page 477
(1424) short long integer types are not supported
(Parser)
The use of the short long type does not conform to the CCI Standard. Use the corre-
sponding long type instead.
sponding long type instead.
short long typeMod; // oops -- not a valid type for CCI
(1425) __pack qualifier only applies to structures and structure members
(Parser)
The qualifier you have specified only makes sense when used with structures or struc-
ture members. It will be ignored.
ture members. It will be ignored.
__pack int c; // oops -- there aren’t inter-member spaces to pack in
an int
(1426) 24-bit floating point types are not supported; * have been changed to 32-bits
(Driver)
Floating-point types must be 32-bits wide to conform to the CCI Standard. These types
will be compiled as 32-bit wide quantities.
will be compiled as 32-bit wide quantities.
--DOUBLE=24
oops -- you cannot set this double size
(1427) machine-dependent path specified in name of included file, use -I instead
(Preprocessor)
Header files specifications must not contain directory separators to conform to the CCI
Standard.
Standard.
#inlcude <inc\lcd.h> // oops -- do not indicate directories here
Remove the path information and use the -I option to indicate this, for example.
#include <lcd.h>
and issue the -Ilcd option.
(1429) attribute "*" is not understood by the compiler; this attribute will be ignored
(Parser)
The indicated attribute you have used is not valid with this implementation. It will be
ignored.
ignored.
int x __attribute__ ((deprecate)) = 0;
oops -- did you mean deprecated?
(1430) section redefined from "*" to "*"
(Parser)
You have attempted to place an object in more than one section.
int __section("foo") __section("bar") myvar; // oops -- which section
should it be in?
(1431) only variable and function definitions at file-scope may be located using __section()(Parser)
You may not attempt to locate local objects using the __section() specifier.
int main(void) {
int __section("myData") counter; // oops -- you cannot specify a
section for autos
(1432) "*" is not a valid section name
(Parser)
The section name specified with __section() is not a valid section name. The section
name must conform to normal C identifier rules.
name must conform to normal C identifier rules.
int __section("28data") counter; // oops -- name cannot start
with digits