Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* some const char * trivia
@ 2003-06-03 20:40 Andrew Cagney
  2003-06-03 21:18 ` David Carlton
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2003-06-03 20:40 UTC (permalink / raw)
  To: gdb-patches

I got slightly carried away with trying to eliminate some 
-Wwrite-strings errors.  I'm trying to put the resultant mess on 
cagney_writestrings-20030508-branch.  Anyway, I learnt two things:

- the cli callbacks cause much grief
An incremental approach where a new call back function signature (that 
took a const char *) was introduced might make that transition easier.

- strtol(const char *, char **, int base) is a pain
Perhaphs something like:
LONGEST strtolongest (const char *b, const char **p, int base);
would be useful.

Andrew


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-03 22:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-03 20:40 some const char * trivia Andrew Cagney
2003-06-03 21:18 ` David Carlton
2003-06-03 22:08   ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox