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.

  • Resolved

#pragma pack(push,2) equivalent

 Hi,

    I am trying to read an image data. BMP image is aligned as 2byte block. I am using 32 bit compiler so which is taking 4byte block at a time. So i used #pragma pack(push,2) for alignment of 2 byte. I trying to do same in code composer studio but its giving a warning message unrecognized #pragma. I tried with bit fields no use... can any one give idea what to use instead of #pragma....

  • Please see this forum thread.

    Thanks and regards,

    -George


    TI C/C++ Compiler Forum Moderator
    Please click This Resolved My Issue on the best reply to your question
    The CCS Youtube Channel
     has short how-to videos
    The 
    Compiler Wiki answers most common questions
    Track an issue with SDOWP. Enter your bug id in the Search box.

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.