From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 688 invoked by alias); 30 Jul 2007 09:14:37 -0000 Received: (qmail 671 invoked by uid 22791); 30 Jul 2007 09:14:36 -0000 X-Spam-Check-By: sourceware.org Received: from WARSL404PIP2.highway.telekom.at (HELO email.aon.at) (195.3.96.113) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 30 Jul 2007 09:14:31 +0000 Received: (qmail 24174 invoked from network); 30 Jul 2007 09:14:26 -0000 Received: from m918p031.adsl.highway.telekom.at (HELO s37.loc) ([62.47.146.191]) (envelope-sender ) by smarthub79.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 30 Jul 2007 09:14:26 -0000 Received: from cow by s37.loc with local (Exim 4.67) (envelope-from ) id 1IFRKb-00064Y-Rw; Mon, 30 Jul 2007 11:14:25 +0200 Date: Mon, 30 Jul 2007 09:42:00 -0000 From: Bernhard Fischer To: Tobias Burnus Cc: FX Coudert , Thomas Koenig , fortran@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: [patch, libfortran] PR 32858 - printf()-capabilities for runtime_error Message-ID: <20070730091425.GB23273@aon.at> References: <1185735235.3535.9.camel@meiner.onlinehome.de> <3CDA8AAE-D8B4-45B4-9691-C628045DA0D0@gmail.com> <46ADA47A.7070900@net-b.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46ADA47A.7070900@net-b.de> User-Agent: Mutt/1.5.16 (2007-06-11) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg02099.txt.bz2 On Mon, Jul 30, 2007 at 10:42:34AM +0200, Tobias Burnus wrote: >FX Coudert wrote: >> I daresay I'm a bit more anxious than Jerry about the portability of >> the system you're introducing, and the functions you're using. Are we >> garanteed that sprintf is available on all platforms? >I don't know but it is used by: >libcpp/macro.c, libcpp/charset.c, >libgcc/config/libbid/bid128_to_string.c, libiberty/strerror.c, >libobjc/archive.c. > >Still, it cannot harm to check MinGW ... It's part of ISO C and SUSv3 ( http://www.opengroup.org/onlinepubs/009695399/functions/sprintf.html ) and since other parts of GCC already use it it should be safe (for platforms that do not adhere to ISO C nor SUS the other parts of GCC would already come with a replacement func, i assume). cheers,