After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 616891 - fails to build: 1.2.8.5 gnome-cmd-advrename-dialog
fails to build: 1.2.8.5 gnome-cmd-advrename-dialog
Status: RESOLVED FIXED
Product: gnome-commander
Classification: Other
Component: buildsystem
1.2.x
Other Linux
: Normal critical
: 1.2.9
Assigned To: epiotr
epiotr
Depends on:
Blocks:
 
 
Reported: 2010-04-26 21:39 UTC by Jack Tanner
Modified: 2010-05-31 22:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jack Tanner 2010-04-26 21:39:03 UTC
first, in gnome-cmd-advrename-regex-dialog.cc:112, box is undeclared.

second, declaring box as GtkWidget *box leads to:

gnome-cmd-advrename-dialog.cc: In member function ‘GtkWidget* GnomeCmdAdvrenameDialog::Private::create_placeholder_menu(GnomeCmdData::AdvrenameConfig*)’:
gnome-cmd-advrename-dialog.cc:128: warning: deprecated conversion from string constant to ‘gchar*’
gnome-cmd-advrename-dialog.cc:136: warning: deprecated conversion from string constant to ‘gchar*’
gnome-cmd-advrename-dialog.cc:141: warning: deprecated conversion from string constant to ‘gchar*’
gnome-cmd-advrename-dialog.cc:149: warning: deprecated conversion from string constant to ‘gchar*’
gnome-cmd-advrename-dialog.cc: In member function ‘void GnomeCmdAdvrenameDialog::update_new_filenames()’:
gnome-cmd-advrename-dialog.cc:643: error: ‘struct GnomeCmd::RegexReplace’ has no member named ‘match’
gnome-cmd-advrename-dialog.cc:643: error: ‘struct GnomeCmd::RegexReplace’ has no member named ‘end’
gnome-cmd-advrename-dialog.cc:644: error: ‘struct GnomeCmd::RegexReplace’ has no member named ‘length’
gnome-cmd-advrename-dialog.cc:645: error: ‘struct GnomeCmd::RegexReplace’ has no member named ‘start’
gnome-cmd-advrename-dialog.cc:645: error: ‘struct GnomeCmd::RegexReplace’ has no member named ‘end’
gnome-cmd-advrename-dialog.cc:648: error: ‘struct GnomeCmd::RegexReplace’ has no member named ‘to’
gnome-cmd-advrename-dialog.cc:655: error: ‘struct GnomeCmd::RegexReplace’ has no member named ‘to’
gnome-cmd-advrename-dialog.cc:655: error: ‘struct GnomeCmd::RegexReplace’ has no member named ‘to’
gnome-cmd-advrename-dialog.cc:656: error: ‘struct GnomeCmd::RegexReplace’ has no member named ‘to’

These build errors are on RHEL 5.5, with gcc 4.4.
Comment 1 André Klapper 2010-04-28 23:39:59 UTC
(In reply to comment #0)
> first, in gnome-cmd-advrename-regex-dialog.cc:112, box is undeclared.

Please post the complete code line or at least tell the exact version you use otherwise we all just guess.
Comment 2 Jack Tanner 2010-05-03 17:43:28 UTC
Sorry, is the ver. in the subject of the bug not specific enough? It's the latest tarball available for download.

http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/gnome-commander-1.2.8.5.tar.gz
Comment 3 André Klapper 2010-05-03 18:04:55 UTC
There simply is no "box" at gnome-cmd-advrename-regex-dialog.cc:112.
Need better steps.
Comment 4 epiotr 2010-05-31 22:41:50 UTC
This problem has been fixed in our software repository. The fix will go into
the next, 1.2.8.6 release. Thank you for your bug report.