[PATCH] Warning roundup - ld/
Ian Lance Taylor
ian@airs.com
Sun Feb 10 12:07:00 GMT 2002
More information about the Binutils mailing list
Sun Feb 10 12:07:00 GMT 2002
- Previous message (by thread): [PATCH] Warning roundup - ld/
- Next message (by thread): Committed, SH: bfd bits for sh64 on sh-*, shl-* ELF targets. Fix opcodes too.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Daniel Jacobowitz <drow@mvista.com> writes: > > However, I don't know lexsup.c is bothering to declare strtoul() at > > all. > > Shall I: > - just kill the declaration? Presumably somewhere we aren't > picking it up, which is why it was present. > - Leave my patch - even if it is not a safe assumption it is just as safe > as not defining it at all. Hmmm. Removing the declaration will only hurt on systems on which int is not the same as long. However, all such systems almost certainly provide strtoul, and declare it in <stdlib.h>. So as a practical matter, I think it is safe to simply remove the declaration. In theory, we should leave the declaration and revert your path, but that will only help on a system which provides <stdlib.h>, does not declare strtoul() in <stdlib.h>, and for which int and long are different. I do not think that there are any such systems. Ian
- Previous message (by thread): [PATCH] Warning roundup - ld/
- Next message (by thread): Committed, SH: bfd bits for sh64 on sh-*, shl-* ELF targets. Fix opcodes too.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list