SW500011 Microchip Technology, SW500011 Datasheet - Page 102

HI-TECH X PRO FOR PIC32

SW500011

Manufacturer Part Number
SW500011
Description
HI-TECH X PRO FOR PIC32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheet

Specifications of SW500011

No. Of User Licenses
1
Supported Families
PIC32
Core Architecture
PIC
Supported Hosts
Windows XP, Vista, Linux, Mac OS X
Software Edition
Professional
Kit Contents
Software And Docs
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
032
778-1007
778-1007
Preprocessing
where switch_type is one of the available switch methods listed in Table .
the table look-up style switch method. This is mostly useful where timing is an issue for switch
statements (i.e.: state machines).
default behaviour.
3.11.4.5 The #pragma warning Directive
The warning disable pragma Some warning messages can be disabled by using the warning
disable pragma. This pragma will only affect warnings that are produced by either parser or the
code generator, i.e. errors directly associated with C code. The position of the pragma is only
significant for the parser, i.e. a parser warning number may be disabled, then re-enabled around
a section of the code to target specific instances of the warning. Specific instances of a warning
produced by the code generator cannot be individually controlled. The pragma will remain in force
during compilation of the entire module.
warning push and warning pop pragmas. Pushes and pops can be nested to allow a large degree
of control over the message behaviour.
102
Specifying the direct option to the #pragma switch directive forces the compiler to generate
This pragma affects all code generated onward. The auto option may be used to revert to the
The state of those warnings which have been disabled can preserved and recalled using the
#pragma switch switch_type
T
D
UT RIAL
ISABLING A WARNING
wreg
status
pclat
prodl, prodh
fsr0, fsr1, fsr2
tblptrl, tblptrh, tblptru
switch type
auto
direct
Register Name
The following example shows the warning associated with
Table 3.9: Valid register names
Table 3.10: Switch types
use smallest code size method (default)
table lookup (fixed delay)
W register
STATUS register
PCLATH register
product result registers
indirect data pointers 0, 1 and 2
table pointer registers
description
Description
C Language Features

Related parts for SW500011