From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3487 invoked by alias); 8 Jan 2009 13:04:09 -0000 Received: (qmail 3476 invoked by uid 22791); 8 Jan 2009 13:04:08 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from outdoor.onevision.de (HELO outdoor.onevision.de) (212.77.172.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Jan 2009 13:04:00 +0000 Received: from sanders.onevision.de (moonrace [212.77.172.62]) by outdoor.onevision.de (8.14.3/8.13.7/ROSCH/DDB) with ESMTP id n08D3pl8012873; Thu, 8 Jan 2009 14:03:56 +0100 In-Reply-To: <20090108125430.GB20220@adacore.com> To: Joel Brobecker Cc: gdb-patches@sourceware.org, Mark Kettenis Subject: Re: [RFC] convert a host address to a string MIME-Version: 1.0 Message-ID: From: Kai Tietz Date: Thu, 08 Jan 2009 13:04:00 -0000 Content-Type: text/plain; charset="US-ASCII" X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-01/txt/msg00153.txt.bz2 Joel Brobecker 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.