#103 gnomebaker-1.9.0: compilation issue

closed-fixed
bidd
None
5
2006-03-08
2006-02-10
Joseph Sacco
No

gnome-baker-1.9.0 does not compile using gcc-3.4.4.

The problem file is

./src/burn.c

The compilation problem is caused by a function,
burn_test(), being used before it is defined. Some
compilers don't have issue with that practice. Others do.

A fix is shown below.

-Joseph

========================================================
--- gnomebaker-0.5.1/src/burn.c- 2006-02-10
10:57:52.000000000 -0500
+++ gnomebaker-0.5.1/src/burn.c 2006-02-10
10:59:19.000000000 -0500
@@ -365,24 +365,6 @@

void
-burn_format_dvdrw()
-{
- GB_LOG_FUNC
-
- /* DO NOT CHECK THIS IN
- * StartDlg* dlg = burn_show_start_dlg(format_dvdrw);
- if(dlg != NULL)
- {
- burnargs = exec_new(_("Formatting
re-writeable DVD"), _("Please wait while the DVD is
formatted."));
- dvdformat_add_args(exec_cmd_new(burnargs));
- burn_run_process();
- startdlg_delete(dlg);
- }*/
- burn_test();
-}
-
-
-void
burn_create_data_dvd(GtkTreeModel* datamodel)
{
GB_LOG_FUNC
@@ -487,4 +469,21 @@
burn_run_process();
}

+void
+burn_format_dvdrw()
+{
+ GB_LOG_FUNC
+
+ /* DO NOT CHECK THIS IN
+ * StartDlg* dlg = burn_show_start_dlg(format_dvdrw);
+ if(dlg != NULL)
+ {
+ burnargs = exec_new(_("Formatting
re-writeable DVD"), _("Please wait while the DVD is
formatted."));
+ dvdformat_add_args(exec_cmd_new(burnargs));
+ burn_run_process();
+ startdlg_delete(dlg);
+ }*/
+ burn_test();
+}
+

Discussion

  • bidd
    bidd
    2006-03-08

    • assigned_to: nobody --> bidd
    • status: open --> closed-fixed
     
  • bidd
    bidd
    2006-03-08

    Logged In: YES
    user_id=1161543

    Fixed in CVS