Re: 0.1 - FINALLY !

> I tried what you said and indeed it solved the problem I mentioned,
> but make fails later :
> 
> src/e2_bookmark.c: In function `_e2_bookmark_tree_selection_check_cb':
> src/e2_bookmark.c:89: parse error before `result'
> src/e2_bookmark.c:91: parse error before `*'
> src/e2_bookmark.c:92: `view' undeclared (first use in this function)
> src/e2_bookmark.c:92: (Each undeclared identifier is reported only
> once src/e2_bookmark.c:92: for each function it appears in.)
> src/e2_bookmark.c:92: `result' undeclared (first use in this function)
> src/e2_bookmark.c: In function `_e2_bookmark_visible_check_cb':
> src/e2_bookmark.c:113: parse error before `result'
> src/e2_bookmark.c:115: `result' undeclared (first use in this
> function) src/e2_bookmark.c:116: warning: control reaches end of
> non-void function src/e2_bookmark.c: In function
> `_e2_bookmark_tree_draggable_check_cb': src/e2_bookmark.c:131: parse
> error before `*' src/e2_bookmark.c:133: `model' undeclared (first use
> in this function) src/e2_bookmark.c:133: `iter' undeclared (first use
> in this function) src/e2_bookmark.c:137: parse error before `result'
> src/e2_bookmark.c:139: `result' undeclared (first use in this
> function) src/e2_bookmark.c: In function `_e2_bookmark_add_cb':
> src/e2_bookmark.c:211: parse error before `*'
> src/e2_bookmark.c:215: `dirname' undeclared (first use in this
> function) src/e2_bookmark.c:225: parse error before `*'
> src/e2_bookmark.c:234: `options' undeclared (first use in this
> function) src/e2_bookmark.c:237: parse error before `*'
> src/e2_bookmark.c:239: `len' undeclared (first use in this function)
> src/e2_bookmark.c:241: `s' undeclared (first use in this function)
> src/e2_bookmark.c:249: parse error before `iter'
> src/e2_bookmark.c:253: `path' undeclared (first use in this function)
> src/e2_bookmark.c:254: `iter2' undeclared (first use in this function)
> src/e2_bookmark.c:255: `iter' undeclared (first use in this function)
> src/e2_bookmark.c: In function `_e2_bookmark_delete_cb':
> src/e2_bookmark.c:286: parse error before `*'
> src/e2_bookmark.c:290: `question' undeclared (first use in this
> function) src/e2_bookmark.c:291: `prompt' undeclared (first use in
> this function) src/e2_bookmark.c:295: parse error before `*'
> src/e2_bookmark.c:298: `dialog' undeclared (first use in this
> function) src/e2_bookmark.c: In function `e2_bookmark_click_cb':
> src/e2_bookmark.c:357: parse error before `pane'
> src/e2_bookmark.c:365: `pane' undeclared (first use in this function)
> src/e2_bookmark.c:386: parse error before `*'
> src/e2_bookmark.c:388: `menuitem' undeclared (first use in this
> function) src/e2_bookmark.c:388: `menu' undeclared (first use in this
> function) src/e2_bookmark.c: In function
> `e2_bookmark_options_register': src/e2_bookmark.c:504: parse error
> before `*' src/e2_bookmark.c:506: `group_name' undeclared (first use
> in this function) src/e2_bookmark.c: At top level:
> src/e2_bookmark.c:152: warning: `_e2_bookmark_confirm_response_cb'
> defined but n ot used make: *** [objs/src/e2_bookmark.o] Erreur 1

All these errors are caused by unrecognised glib/gtk variable types, like 
gboolean, gchar, GtkTreeModel etc etc. Those should be known via chained 
includes:

#include "e2_bookmark.h"
 --  #include "emelfm2.h" 
   --  #include <gtk/gtk.h>

This approach hasn't changed - probably since the very first emelFM with 
bookmarks !

Lost/bad gtk headers ?

Something else bad in the build tools ?

Can't see why there'd be a version problem.

Perhaps you can discover some more clues, to help get to a fix for you.


> Maybe it comes all from that "strict" build policy you mentioned. I
> wonder what might have changed on my system to set that policy, since
> I had no problem in the past to compile emelfm2 pre-releases.

I was just guessing. Nobody else has ever reported the problem you described, 
and, on the face of it, removing the "ret"'s should not affect the macro ...

Now that you've found some other strangeness, that's likely a signal that the 
issue is something else.

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: