SW006015 Microchip Technology, SW006015 Datasheet - Page 17

C COMPILER MPLAB C32

SW006015

Manufacturer Part Number
SW006015
Description
C COMPILER MPLAB C32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheets

Specifications of SW006015

Supported Families
PIC32MX5, MX6, And MX7
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC32 MCUs
Tool Function
Compiler
Supported Devices
PIC32 MCUs
Tool Type
Compiler
Processor Series
PIC32
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
© 2007 Microchip Technology Inc.
The first_to_check parameter specifies which parameter is the first to check
against the format string. If first_to_check is zero, type checking is not performed
and the compiler only checks the format string for consistency (e.g., vfprintf).
format_arg (index)
The format_arg attribute specifies that a function manipulates a printf style format
string and that the compiler should check the format string for consistency. The function
attribute which is a format string is identified by index.
nonnull (index, ...)
Indicate to the compiler that one or more pointer arguments to the function must be
non-null. If the compiler determines that a null pointer is passed as a value to a non-null
argument, and the -Wnonnull command line option was specified, a warning
diagnostic is issued.
If no arguments are give to the nonnull attribute, all pointer arguments of the function
are marked as non-null.
unused
Indicate to the compiler that the function may not be used. The compiler will not issue
a warning for this function if it is not used.
used
Indicate to the compiler that the function is always used and code must be generated
for the function even if the compiler cannot see a reference to the function. For
example, if inline assembly is the only reference to a static function.
deprecated
When a function specified as deprecated is used, a warning is generated.
warn_unused_result
A warning will be issued if the return value of the indicated function is unused by a
caller.
weak
A weak symbol indicates that if another version of the same symbol is available, that
version should be used instead. For example, this is useful when a library function is
implemented such that it can be overridden by a user written function.
malloc
Any non-null pointer return value from the indicated function will not alias any other
pointer which is live at the point when the function returns. This allows the compiler to
improve optimization.
alias (“symbol”)
Indicates that the function is an alias for another symbol. For example,
Symbol bar is considered to be an alias for symbol foo.
1.7.2
aligned (n)
The attributed variable will aligned on the next n byte boundary.
The aligned attribute can also be used on a structure member. Such a member will
be aligned to the indicated boundary within the structure.
If the alignment value n is omitted, the alignment of the variable is set 8 (the largest
alignment value for a basic data type).
void foo (void) { /* stuff */ }
void bar (void) __attribute__ ((alias(“foo”)));
Variable Attributes
DS51686A-page 13

Related parts for SW006015