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.

C++ compiler error with #pragma DATA_ALIGN

Hi

I have another C++ issue, similar to my previous post.  The following compiles in C but not C++:

 

#pragma DATA_ALIGN(dummy, 4);

#pragma DATA_SECTION(dummy, ".ddr3");

far unsigned dummy[1000];

 

How can I fix this please?

David