I have a header file that defines a struct that contains a bitfield. I would like to load this structure using LOADLIBRARY and LIBSTRUCT. When loading the library, I receive the following error message:
Bitfields are unsupported in structures. Structure full_of_fields skipped.
Here is an example of a definition of a bitfield within a struct:
int testerfunc();struct full_of_fields{ /* field 4 bits wide */ unsigned field1 :4;};
Best Answer