Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Distributing C as headers. Date: Sun, 27 Jan 2019 17:20:00 -0800 Organization: None to speak of Lines: 26 Message-ID: References: <3719d4fa-cf75-4a85-9255-b3f961a649c1@googlegroups.com> <5c4b5064$0$21586$426a74cc@news.free.fr> <1bh8dw2l5r.fsf@pfeifferfamily.net> <5c4c1691$0$21610$426a74cc@news.free.fr> <1bwomr17cp.fsf@pfeifferfamily.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader02.eternal-september.org; posting-host="6e9d60f1a86f6adea14a7c4a73c06923"; logging-data="8595"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vkyKtf6DOEA+q/nn7jbBB" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:WtHjJGhr2UsrmV8Yx9Yv+w/jOH0= sha1:ruyh+Q6GHpm6o52zc0NrWujtgNQ= Xref: csiph.com comp.lang.c:140342 "Pascal J. Bourguignon" writes: > Keith Thompson writes: >> "Pascal J. Bourguignon" writes: >>> James Kuyper writes: >> [...] >>>> Assuming that it is possible to write >>>> Pascal code that could crash, could you please provide an example? >>> >>> AFAICR, it's not possible to write a pascal program that could crash. >>> A dereference of a null pointer, or an out of bounds indexing would be >>> detected and the program would abort cleanly (or if error handling >>> extensions are used, could be handled at run-time). >> >> I haven't used Pascal in a long time, and I'm not as familiar with >> the details of the standard as I am with C. Does an attempt to >> dereference an uninitialized pointer have defined behavior in Pascal? > > Well, I used pascal to avoid frightning you, but I actually meant lisp. I regret taking anything you've said in this thread seriously, and I'll try to avoid making the same mistake in the future. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */