I built my normal package set on Oct. 15. Today I
can't. My local tree is
current.
The failure messages with tdebindings:
x_16.cpp:5632: error: ISO C++ forbids initialization in array new
x_16.cpp:5632: error: no matching function for call to
'TQStyleControlElementGenericWidgetData::TQStyleControlElementGenericWidgetData(TQStyleControlElementGenericWidgetData
[4])'
x_16.cpp:5656: error: expected primary-expression before '[' token
x_16.cpp:5656: error: expected primary-expression before ')' token
x_16.cpp:5656: error: expected ';' before 'x'
Looking at the commits since Oct. 15 I see f209ff4b, which has code that
matches the failure messages.
x_16.cpp, which is generated during the build, has #include <ntqstyle.h>.
After rebuilding tqt3, /opt/trinity/include/ntqstyle.h includes class
TQStyleControlElementGenericWidgetData.
How do we fix?
Darrell
Apparently smoke does not understand arrays, so I have simply hidden the
array definition from smoke in a recent GIT commit to qt3/tqt3. This hack
should not be a problem as widget styles are not intended to be written in
a non-C/C++ language.
Tim