To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=75975 Issue #|75975 Summary|WaE build with GTK breaks on mac (SalGtkFilePicker.cxx | - module filepicker) Component|porting Version|680m206 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|cloph Reported by|cloph
------- Additional comments from [EMAIL PROTECTED] Sat Mar 31 23:58:52 +0000 2007 ------- breaks with cc1plus: warnings being treated as errors /Users/buildslave/compile/shadow/fpicker/source/unx/gnome/SalGtkFilePicker.cxx: In member function ´void SalGtkFilePicker::HandleSetListValue(GtkComboBox*, sal_Int16, const com::sun::star::uno::Any&)´: /Users/buildslave/compile/shadow/fpicker/source/unx/gnome/SalGtkFilePicker.cxx:1239: warning: ´nPos´ may be used uninitialized in this function /Users/buildslave/compile/shadow/fpicker/source/unx/gnome/SalGtkFilePicker.cxx:1261: warning: ´nPos´ may be used uninitialized in this function dmake: Error code 1, while making ´../../../unxmacxp.pro/slo/SalGtkFilePicker.obj´ easy fix: initialize nPos to 0: --- fpicker/source/unx/gnome/SalGtkFilePicker.cxx 5 Mar 2007 15:17:48 -0000 1.21 +++ fpicker/source/unx/gnome/SalGtkFilePicker.cxx 31 Mar 2007 13:22:53 -0000 @@ -1236,7 +1236,7 @@ break; case ControlActions::DELETE_ITEM: { - sal_Int32 nPos; + sal_Int32 nPos=0; rValue >>= nPos; gtk_combo_box_remove_text(pWidget, nPos); } @@ -1258,7 +1258,7 @@ break; case ControlActions::SET_SELECT_ITEM: { - sal_Int32 nPos; + sal_Int32 nPos=0; rValue >>= nPos; gtk_combo_box_set_active(pWidget, nPos); } issue filed just to have an issue to point to for tinderbox.. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]