New warnings: INT redefined

Andreas Jaeger aj@suse.de
Tue Feb 5 05:04:00 GMT 2002


Using INT in libc-symbols was not the best idea, we now get a lot of
warnings since INT was used previously:

../sysdeps/generic/strtol.c:62:1: warning: "INT" redefined
../include/libc-symbols.h:355:1: warning: this is the location of the previous definition
../sysdeps/generic/strtol.c:64:1: warning: "INT" redefined
../include/libc-symbols.h:355:1: warning: this is the location of the previous definition
tst-printf.c:77:1: warning: "INT" redefined
../include/libc-symbols.h:358:1: warning: this is the location of the previous definition

How should we solve this issue?  I would suggest to use INTNAME
instead of INT in libc-symbols.h.

What do you think?  Shall I send a patch?

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