From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 969 invoked by alias); 10 Dec 2003 13:12:04 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 960 invoked from network); 10 Dec 2003 13:12:03 -0000 Received: from unknown (HELO nile.gnat.com) (205.232.38.5) by sources.redhat.com with SMTP; 10 Dec 2003 13:12:03 -0000 Received: from gnat.com (hoosic.gnat.com [205.232.38.102]) by nile.gnat.com (Postfix) with ESMTP id 25B55F28D8; Wed, 10 Dec 2003 08:12:03 -0500 (EST) Message-ID: <3FD71B79.3010905@gnat.com> Date: Wed, 10 Dec 2003 13:34:00 -0000 From: Robert Dewar User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Segher Boessenkool Cc: gcc@gcc.gnu.org, Eyal Lebedinsky , Andreas Schwab , Michael Elizabeth Chastain Subject: Re: (printf) ("hello world\n"); References: <20031209204037.906D84B412@berman.michael-chastain.com> <3FD6DD9B.E35C742@eyal.emu.id.au> <3FD71140.2070506@gnat.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-12/txt/msg00625.txt.bz2 Segher Boessenkool wrote: > On 10-dec-03, at 13:27, Robert Dewar wrote: > >> Is it really true that the name printf is reserved? Is a C program not >> allowed to define its own printf function (which might or might not be >> varargs)? What's the story here? > > > It is reserved only in translation units that have stdio.h #include'd. Well that's not a matter of being reserved, just normal visibility rules ...