TI E2E Community
TI C/C++ Compiler
TI C/C++ Compiler - Forum
#pragma pack(push,2) equivalent
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,
TI C/C++ Compiler Forum ModeratorPlease click Verify Answer on the best reply to your questionThe CCS Youtube Channel has short how-to videosThe Compiler Wiki answers most common questionsTrack an issue with SDOWP. Enter your bug id in the "Find Record ID" box.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.