Next: , Up: Type encoding


8.3.1 Legacy type encoding

Unfortunately, historically GCC used to have a number of bugs in its encoding code. The NeXT runtime expects GCC to emit type encodings in this historical format (compatible with GCC-3.3), so when using the NeXT runtime, GCC will introduce on purpose a number of incorrect encodings:

In addition to that, the NeXT runtime uses a different encoding for bitfields. It encodes them as b followed by the size, without a bit offset or the underlying field type.