in the following struct:
i wonder why C2033 must be generated?! logically it must not be erroneous. there must be a byte first of which (LSb) be called simultaneousAction, the next bit be called action and the last one (MSb) be called action.
what's the problem with this scenario and why do i get the following error?
error C2033: 'AsServoMotorProperties::<unnamed-tag>::action' : bit field cannot have indirection
The underlying type of a bit field must be an integral type. An array is similar to a pointer and therefore not an integral type.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)