Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions source/portable/Compiler/CCS/pack_struct_end.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
*
* Contains a semicolon to end the wrapped structure,
* and resets warnings that were supressed in pack_struct_start.h.
* It also pops the previously pushed alignment of 1 byte of the stack.
*/
;
#pragma pack(pop)
#pragma diag_pop
3 changes: 2 additions & 1 deletion source/portable/Compiler/CCS/pack_struct_start.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
*
* Also suppress an incorrect warning from the CCS compiler:
* error #1916-D: definition at end of file not followed by a semicolon or a declarator
* Pushes the struct alignment of packed.
*/
#pragma diag_push
#pragma diag_suppress=1916
#pragma pack(1)
#pragma pack(push, 1)