diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2010-11-08 16:26:13 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-11-08 17:29:51 (GMT) |
commit | 551a8648b93055afa92c2938af5cede7495fd7f5 (patch) | |
tree | b0e7bf1f77a68fa02940f902a8fe4e5759a06dc6 /doc/src/snippets/code/src_gui_kernel_qwidget.cpp | |
parent | 38f7873d8f3104ede6f7e70392f2e1ba2970b508 (diff) | |
download | Qt-551a8648b93055afa92c2938af5cede7495fd7f5.zip Qt-551a8648b93055afa92c2938af5cede7495fd7f5.tar.gz Qt-551a8648b93055afa92c2938af5cede7495fd7f5.tar.bz2 |
fix build on mingw
> data.cpp:2: error: 'ushort' does not name a type
> data.cpp:1133: error: 'ushort' does not name a type
and lot of
> data.cpp:1276: error: too many initializers for 'StringCollection'
when the issue with ushort is fixed (by including qglobal.h, for example)
a bunch of some new build errors occurs:
> data.cpp:4: error: 'stringCollectionData' was declared 'extern' and later 'static'
> data.h:54: error: previous declaration of 'stringCollectionData'
> data.cpp:1131: error: redefinition of 'struct StringCollection'
> data.h:48: error: previous definition of 'struct StringCollection'
> data.cpp:1136: error: invalid type in declaration before '=' token
> data.cpp:1136: error: conflicting declaration 'int stringCollection []'
> data.h:55: error: 'stringCollection' has a previous declaration as 'StringCollection stringCollection []
> data.cpp:1279: error: 'stringCollectionCount' was declared 'extern' and later 'static'
> data.h:56: error: previous declaration of 'stringCollectionCount'
Merge-request: 910
Reviewed-By: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'doc/src/snippets/code/src_gui_kernel_qwidget.cpp')
0 files changed, 0 insertions, 0 deletions