Kayvan A. Sylvan wrote:

> gcc -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../images
> -I../../../src -I../../../src/frontends
> -I../../../src/frontends/controllers -I../../../boost -I/u/ksylvan/include
> -isystem /usr/openwin/include -g -O2 -c freebrowser.c
> -Wp,-MD,.deps/freebrowser.TPlo freebrowser.c: In function `peek_event':
> freebrowser.c:151: parse error before `keysym_return' freebrowser.c:152:
> `keysym_return' undeclared (first use in this function) freebrowser.c:152:
> (Each undeclared identifier is reported only once freebrowser.c:152: for
> each function it appears in.) freebrowser.c:162: warning: unreachable code
> at beginning of switch statement make[5]: *** [freebrowser.lo] Error 1

Ahhhh!
    if (xev->type == KeyPress) {
        char s_r[10]; s_r[9] = '\0';
        KeySym keysym_return;

I missed that pesky s_r[9] bit. The code above is C99 but not C88 or 
whatever.

Thanks, Kayvan.

-- 
Angus

Reply via email to