[cfe-dev] 'const void' is considered to be an incomplete type by clang 3.5.0
Stephen Kelly
steveire at gmail.com
Tue Apr 22 05:22:25 PDT 2014
Yuri wrote:
> I tried to compile some Qt5 project with the latest clang-3.5.0
> (rev.206727) and got this error:
>
> ../../../../../local/include/qt5/QtCore/qmetatype.h|1319 col 27| error:
> invalid application of 'sizeof' to an incomplete type 'const void'
> || Q_STATIC_ASSERT_X(sizeof(T), "Type argument of
> Q_DECLARE_METATYPE(T*) must be fully defined");
FYI:
https://codereview.qt-project.org/#change,83568
Thanks,
Steve.
More information about the cfe-dev
mailing list