On 05/04/2010 04:25 PM, Robert Schweikert wrote:
On 05/04/2010 10:21 AM, Dave Plater wrote:
Hi, I have a gcc45 error in home:plater plasmoid-yawp which I can't understand :- /usr/src/packages/BUILD/yawp-0.3.372/applet/configdialog/dlgaddcity.cpp: In member function 'CityWeather DlgAddCity::getSelectedCity() const': /usr/src/packages/BUILD/yawp-0.3.372/applet/configdialog/dlgaddcity.cpp:72:2: error: cannot call constructor 'DStreamLogger::DStreamLogger' directly /usr/src/packages/BUILD/yawp-0.3.372/applet/configdialog/dlgaddcity.cpp:72:2: error: for a function-style cast, remove the redundant '::DStreamLogger' / in the code snippet where line 72 is dStartFunct();
What does dStartFunct look like?
Would this be what I was looking for, in streamlogger.h : #define dStartFunct() DStreamLogger::DStreamLogger(DStreamLogger::Tracing, LOGOUTPUT, __FILE__, __LINE__, Q_FUNC_INFO, 1) << "[function starts]" I've removed "::DStreamLogger" and it passes that error, there's another 8. Thanks Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org