[RFC] convert a host address to a string

Kai Tietz Kai.Tietz@onevision.com
Thu Jan 8 13:04:00 GMT 2009


Joel Brobecker <brobecker@adacore.com> wrote on 08.01.2009 13:54:30:

> > Well, the PRIxxx macros are ISO C99 inventions, so we can't assume
> > they're generally available.  Guess that could be mitigated by
> > importing inttypes module from gnulib.
> 
> It's mentioned in the C90 draft document that I have. Has it been
> removed from the final revision?
> 
> In any case, it doesn't work on Windows, because their definition
> is screwed. How about some of my suggestions?

hmm, I tested it for the w64 compiler and I got no warnings about this at 
all. Is gdb using some --std option? If so it could be that you are fooled 
by the ISO C message that I isn't an ISO formatter. This check can be 
turned off (as we did it for gcc 4.4) by the option 
-Wno-pedantic-ms-format.

Kai

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.



More information about the Gdb-patches mailing list