Hello,

        Am trying to build kdeadmin from cvs sources, with the --with-rpm flag.
It bombs with the following:

In file included from /usr/include/rpm/rpmlib.h:8,
                 from rpmMessages.c:12:
/usr/include/rpm/rpmio.h:615: syntax error before "int"
/usr/include/rpm/rpmio.h:618: syntax error before "int"
/usr/include/rpm/rpmio.h:621: syntax error before "int"
/usr/include/rpm/rpmio.h:624: syntax error before "int"
/usr/include/rpm/rpmio.h:627: syntax error before "int"
/usr/include/rpm/rpmio.h:630: syntax error before "int"
/usr/include/rpm/rpmio.h:633: syntax error before "int"
/usr/include/rpm/rpmio.h:637: syntax error before "int"
/usr/include/rpm/rpmio.h:640: syntax error before "int"


there's more after this, but this is a good starting point.  The header file 
rpmio.h at line 612 has:
/*@unused@*/ static inline int xislower(int c) /*@*/ {
    return (c >= 'a' && c <= 'z');
}
/*@unused@*/ static inline int xisupper(int c) /*@*/ {
    return (c >= 'A' && c <= 'Z');
}
/*@unused@*/ static inline int xisalpha(int c) /*@*/ {
    return (xislower(c) || xisupper(c));
}
/*@unused@*/ static inline int xisdigit(int c) /*@*/ {
    return (c >= '0' && c <= '9');
}
/*@unused@*/ static inline int xisalnum(int c) /*@*/ {
    return (xisalpha(c) || xisdigit(c));
}
/*@unused@*/ static inline int xisblank(int c) /*@*/ {
    return (c == ' ' || c == '\t');
}

Am using current gcc 3.1 from cooker.    Are these lines placeholders of some 
sort? 

V.


Reply via email to