Question:
Explain about cc1138 error
Answer:
The cc1138 error indicates that there is an illegal memory qualifier for auto or register variable. This is due to the fact that the memory qualifiers pm and dm cannot be applied to local declarations.
The error is issued when a "dm" or "pm" qualifier is used on a local variable. As all local variables are allocated from the heap/stack, you cannot use a memory space keyword to control their placement.
The "pm" and "dm" qualifiers are only valid on global symbols.