This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28P659DK-Q1: size_t

Part Number: TMS320F28P659DK-Q1
Other Parts Discussed in Thread: TMS320F280037C, C2000WARE

Tool/software:

The compiler throws a compilation error when I use size_t with the current controller's build configuration. However, when I switch to another controller—like the TMS320F280037C—the same code compiles without issues.

I found that the issue is resolved when I explicitly include the header file stddef.h, but I only need to do this for the TMS320F28P659DK build.

I'm wondering why this behavior occurs—why is size_t recognized without issues in one controller build, but not in another unless I manually include stddef.h?