From: Scott F. <sco...@gm...> - 2012-11-08 17:21:49
|
Found other code where wxDateTime::Parse functions were used expecting a pointer as a return value. wx294 documentation has wxDateTime::Parse[Format|DateTime|Date] return a boolean ( was wxChar* of failed character). Affected files sdk/databaselayer/src/dblayer/PostgresResultSet.cpp sdk/databaselayer/src/dblayer/OracleResultSet.cpp ----- Received warning during compile ----------Building project:[ abbreviation - Release_gcc_unicode ]---------- In file included from abbreviationssettingsdlg.cpp:31:0: abbreviationssettingsdlg.h: In constructor ‘AbbreviationsSettingsDlg::AbbreviationsSettingsDlg(wxWindow*, IManager*)’: abbreviationssettingsdlg.h:41:20: warning: ‘AbbreviationsSettingsDlg::m_data’ will be initialized after [-Wreorder] abbreviationssettingsdlg.h:40:12: warning: ‘IManager* AbbreviationsSettingsDlg::m_mgr’ [-Wreorder] abbreviationssettingsdlg.cpp:33:1: warning: when initialized here [-Wreorder] minor patch to update order of initialization in constructor. |