I am having some problems with byte alignment. I need to use the pragma pack(1) preprocessor directive only in some
areas of code (or perhaps in an entire project) where it is crucial to have single byte alignment, but not in others areas of the main application.
It is possible to set this at the project (dsp, dsw) level.
Should I simply use pragma locally, or use it on the entire
project. Note that other code will be making calls into the lib in question.
areas of code (or perhaps in an entire project) where it is crucial to have single byte alignment, but not in others areas of the main application.
It is possible to set this at the project (dsp, dsw) level.
Should I simply use pragma locally, or use it on the entire
project. Note that other code will be making calls into the lib in question.