This issue was copied from https://github.com/microsoft/checkedc-clang/issues/41 ---- An expression with a count bounds expressions must have a pointer type. The type cannot be a pointer to void.