Compiler Limits
5-17
TMS320C2x/C2xx/C5x C Language
Table 5
−
2. Absolute Compiler Limits
Description
Limits
Filename length
512 characters
Source line length
16K characters
(See Note 1)
Length of strings built from # or ##
512 characters
(See Note 2)
Macros predefined with
−
d
64
Macro parameters
32 parms
Macro nesting
32 levels
(See Note 3)
#include search paths
64 paths
(See Note 4)
#include file nesting
64 levels
Conditional inclusion (#if) nesting
64 levels
Nesting of struct, union, or prototype
declarations
20 levels
Function parameters
48 parms
Array, function, or pointer derivations on
a type
12 derivations
Aggregate initialization nesting
32 levels
Static initializers
1500 per initialization (approximately)
Local initializers
150 levels (approximately)
Nesting of if statements, switch state-
ments, and loops
1500 per initialization (approximately)
Global symbols
2000
PCs
10000
All others
(See Note 5)
Block scope symbols visible at any point 500
PCs
. . .
1000
All others
. .
Notes:
1) This limit reflects the number of characters after splicing of \ lines. This limit also
applies to any single macro definition or invocation.
2) This limit reflects the number of characters before concatenation. All other charac-
ter strings are unrestricted.
3) This limit includes argument substitutions.
4) This limit includes
−
i and C_DIR directories.
5) May be further limited by available system memory.
Summary of Contents for TMS320C2x
Page 8: ...viii...
Page 69: ...2 47 C Compiler Description...
Page 159: ...6 36...
Page 226: ...8 6...