Re: [Dillo-dev] [PATCH] new version of tab patch, fixes segfault on bookmark
On Tue, Jul 01, 2003 at 02:36:25PM -0700, Victor Sahlstedt wrote:
Hi Frank, I get the following error while compiling the patched Dillo (GCC 2.95.3);
tab.c: In function `a_Tab_visibility_update': tab.c:317: syntax error before `hide_tabs' tab.c:328: `hide_tabs' undeclared (first use in this function) tab.c:328: (Each undeclared identifier is reported only once tab.c:328: for each function it appears in.) gmake[3]: *** [tab.o] Error 1 gmake[2]: *** [all-recursive] Error 1 gmake[1]: *** [all-recursive] Error 1 gmake: *** [all] Error 2
This is with the latest version of the patch (the one mentioned in my last message)? Check if the function begins with: (src/tab.c:301-307) /* * set visibility of tab bar */ void a_Tab_visibility_update(BrowserWindow *bw) { gboolean hide_tabs; See, that is where hide_tabs is declared. Your line numbers are off by 10. Makesme wonder if you have the right version... Cheers//Frank -- WWWWW ________________________ ## o o\ / Frank de Lange \ }# \| / +46-734352015 \ \ `--| _/ <Hacker for Hire> \ `---' \ +31-640037120 / \ frank@unternet.org / `------------------------' [ "Omnis enim res, quae dando non deficit, dum habetur et non datur, nondum habetur, quomodo habenda est." ]
participants (1)
-
Frank de Lange