Browse thread
[Caml-list] Printing text with holes
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Matthieu Sozeau <mattam@a...> |
| Subject: | Re: [Caml-list] Printing text with holes |
On Tuesday 30 September 2003 00: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'); }
gcc is permissive by default, use -Wall !
--
Matthieu Sozeau
www: http://mattam.ath.cx
-------------------
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