From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id AAA19345; Tue, 30 Sep 2003 00:14:49 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA11878 for ; Tue, 30 Sep 2003 00:14:48 +0200 (MET DST) Received: from giynz (vp086165.reshsg.uci.edu [128.195.86.165]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h8TMElH10229 for ; Tue, 30 Sep 2003 00:14:47 +0200 (MET DST) Received: from albro by giynz with local (Exim 3.36 #1 (Debian)) id 1A46Hn-0006QP-00; Mon, 29 Sep 2003 15:14:31 -0700 Subject: Re: [Caml-list] Printing text with holes From: "Daniel M. Albro" To: Fred Yankowski Cc: Richard Jones , caml-list@inria.fr In-Reply-To: <20030929220740.GA31853@ontosoft.com> References: <200309292048.WAA16827@pauillac.inria.fr> <20030929215234.GA15095@redhat.com> <20030929220740.GA31853@ontosoft.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1064873671.1730.18.camel@giynz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 29 Sep 2003 15:14:31 -0700 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 ucla:99 gcc:01 -wall:01 yankowski:01 gcc:01 printf:01 scanf:01 2.95.4:01 printf:01 ucla:99 sep:01 compile:02 wrote:03 wrote:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I assume he means that it won't compile if you use "gcc -Wall -Werror". - Dan Albro On Mon, 2003-09-29 at 15:07, Fred Yankowski wrote: > On Mon, Sep 29, 2003 at 10:52:34PM +0100, Richard Jones wrote: > > On this one small point, people who have been using gcc have had > > type safe printf/scanf for at least the last 15 years. > > What do you mean? Compiling the following with gcc 2.95.4 and > executing it causes a seg fault on my Linux 2.4.20 system: > > main() { printf("%s", 'a'); } -- Daniel M. Albro ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners