clang flags as resize unresolved reference,
backport from git repository (as of 2013-09-15).