Fix warnings

Andreas Jaeger aj@suse.de
Wed Sep 18 00:00:00 GMT 2002


Roland McGrath <roland@redhat.com> writes:

>> Building glibc produces lots of these warnings:
>> ../include/ctype.h:27: warning: no previous prototype for `__ctype_b_loc'
>> ../include/ctype.h:37: warning: no previous prototype for `__ctype_toupper_loc'
>> ../include/ctype.h:47: warning: no previous prototype for `__ctype_tolower_loc'
>
> Compiling what files?  I don't see any such warnings.  Are you using
> unusual options?  What compiler?

GCC 3.2 and using -Wmissing-prototypes -Wmissing-declarations to find
such problems.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Libc-hacker mailing list