Visual C ++ - Äquivalent zu GCCs __attribute__ ((__packed__))
Für einige Compiler gibt es einen Packspezifizierer für Strukturen, zum Beispiel:
RealView ARM compiler has "__packed" Gnu C Compiler has "__attribute__ ((__packed__))" Visual C++ has no equivalent, it only has the "#pragma pack(1)"
Ich brauche etwas, das ich in die Tasche stecken kannstruct Definition.
Irgendwelche Infos / Hack / Vorschläge? TIA ...