[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[unicode branch] search.c:1537: error: 'this_pos_byte' undeclared

From: Jhair Tocancipa Triana
Subject: [unicode branch] search.c:1537: error: 'this_pos_byte' undeclared
Date: Wed, 22 Nov 2006 02:50:53 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux)

After a cvs update today I get the following error:

gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_GTK  -I. 
-I/home/jtocancipa/local/src/emacs_unicode_branch/emacs/src -D_BSD_SOURCE 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 
-I/usr/include/freetype2 -I/usr/include/alsa -g -O2 -Wno-pointer-sign  search.c
search.c: In function 'simple_search':
search.c:1537: error: 'this_pos_byte' undeclared (first use in this function)
search.c:1537: error: (Each undeclared identifier is reported only once
search.c:1537: error: for each function it appears in.)

Shouldn't this change be applied?

*** search.c    22 Nov 2006 02:36:14 +0100
--- search.c    22 Nov 2006 02:44:15 +0100      
*** 1531,1536 ****
--- 1531,1537 ----
            /* Try matching at position POS.  */
            int this_pos = pos - len;
+           int this_pos_byte = pos_byte - len_byte;
            int this_len = len;
            unsigned char *p = pat;

-- Jhair

reply via email to

[Prev in Thread] Current Thread [Next in Thread]