Re: compile version 0.7.0

  • From: <tpgww@xxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Fri, 4 Dec 2009 14:52:44 +1100

On Tue, 01 Dec 2009 11:20:20 +0100
"janis bikos" <kongalino@xxxxxxx> wrote:

> Hello list,
> I get this error when I compile version 0.7.0 whenever I set one or more
> make options.Without make options, it compiles fine. Anyone any idea?
> Version 0.6.2 always compiled fine with any options on the same machine.
> &lsquo;e2_password_dialog_setup&rsquo;:
> src/dialogs/e2_password_dialog.c:197: error: expected expression before 
> &lsquo;if&rsquo;
> make: *** [objs/src/dialogs/e2_password_dialog.o] Error 1

Bug, I'm afraid.

You might like to edit src/dialogs/e2_password_dialog.c as follows:

existing lines from 194 ...
#ifdef E2_ASSISTED
                GtkWidget *label =
#endif
                if (*realprompt != '\0')
                        e2_widget_add_label (box, realprompt, 0.5, 0.0, FALSE, 
E2_PADDING);

change to

#ifdef E2_ASSISTED
                GtkWidget *label;
#endif
                if (*realprompt != '\0')
#ifdef E2_ASSISTED
                        label =
#endif
                        e2_widget_add_label (box, realprompt, 0.5, 0.0, FALSE, 
E2_PADDING);

Otherwise, I've just posted this change to svn, you can get the file from there.

Regards
Tom


-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: