[uClibc]small bug in 0.9.16 and even cvs snapshot 20021209

Cristian Ionescu-Idbohrn cii at semera.se
Wed Dec 11 00:03:58 UTC 2002


Application compiled with -Werror reveals this:

,----
| In file included from
| uclibc/include/ctype.h:25,
|                  from nanotop.h:28,
|                  from nanotop.c:23:
| uclibc/include/bits/uClibc_ctype.h:62:
| warning: comma at end of enumerator list
`----

Patch:

--- include/bits/uClibc_ctype.h.original        2002-05-06 09:37:32.000000000 +0200
+++ include/bits/uClibc_ctype.h 2002-12-11 00:43:01.000000000 +0100
@@ -58,7 +58,7 @@ enum {
        __CTYPE_space_blank_noncntrl,
        __CTYPE_cntrl_space_nonblank,
        __CTYPE_cntrl_space_blank,
-       __CTYPE_cntrl_nonspace,
+       __CTYPE_cntrl_nonspace
 };

 /* Some macros that test for various (w)ctype classes when passed one of the


Cheers,
Cristian



More information about the uClibc mailing list