mikroC - C Compiler for Microchip PIC microcontrollers
External Linkage Rule:
1. names having file scope, that do not comply to any of previously stated internal
linkage rules, have external linkage.
The storage class specifiers
declaration. For each identifier in a translation unit declared with internal linkage,
no more than one external definition can be given. An external definition is an
external declaration that also defines an object or function; that is, it also allocates
storage. If an identifier declared with external linkage is used in an expression
(other than as part of the operand of
of that identifier must be somewhere in the entire program.
mikroC allows later declarations of external names, such as arrays, structures, and
unions, to add information to earlier declarations. Here's an example:
int a[];
struct mystruct;
.
.
.
int a[3] = {1, 2, 3};
struct mystruct {
int i, j;
};
page
88
and
auto
register
), then exactly one external definition
sizeof
// No size
// Tag only, no member declarators
// Supply size and initialize
// Add member declarators
MikroElektronika: Development tools - Books - Compilers
making it simple...
cannot appear in an external
mikroC
Need help?
Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?