SW500010 Microchip Technology, SW500010 Datasheet - Page 381

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
Error and Warning Messages
(329) double argument required in printf-style format string
The printf format specifier corresponding to this argument is %f or similar, and requires a floating
point expression. Check for missing or extra format specifiers or arguments to printf.
(330) pointer to * argument required in printf-style format string
A pointer argument is required for this format specifier. Check the number and order of format
specifiers and corresponding arguments.
(331) too few arguments for printf-style format string
There are too few arguments for this format string. This would result in a garbage value being printed
or converted at run time, e.g.:
(332) "interrupt_level" should be 0 to 7
The pragma interrupt_level must have an argument from 0 to 7, e.g.:
(333) unrecognized qualifier name after "strings"
The pragma strings was passed a qualifier that was not identified, e.g.:
(334) unrecognized qualifier name after "printf_check"
The #pragma printf_check was passed a qualifier that could not be identified, e.g.:
printf(“%f”, 44);
printf(“%d - %d”, low);
#pragma interrupt_level
void interrupt isr(void)
{
}
/ * oops -- should that be #pragma strings const ? * /
#pragma strings cinst
/ * oops -- should that be const not cinst? * /
#pragma printf_check(printf) cinst
/ * oops! where is the other value to print? * /
/ * isr code goes here * /
/ * should be: printf(“%f”, 44.0); * /
/ * oops -- what is the level * /
(Parser)
(Parser)
(Parser)
(Parser)
(Parser)
(Parser)
381

Related parts for SW500010