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: "...the value becomes,indeterminate each time the declaration is reached" Date: Thu, 07 Feb 2019 16:36:51 -0800 Organization: None to speak of Lines: 13 Message-ID: References: <20190204120834.7d3f84f25052b6a8315f693a@g{oogle}mail.com> <30065f8f-0b5b-4d17-846f-4fa63051cd0e@googlegroups.com> <9d6896dc-a369-4eb0-a93c-c0317a19908e@googlegroups.com> <7615cc12-0e98-4917-a0d0-682c7aeabeb5@googlegroups.com> <8736oze00i.fsf@bsb.me.uk> <87r2cjcho0.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader02.eternal-september.org; posting-host="e2fe68fc85715b1ccf6893e6346d7d34"; logging-data="29752"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18L0K+/QQ3pIo9jqfp3lSbm" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:S5FXs4w4enXrfZ9MzOsclGxYqHY= sha1:F1W7f8dDV6SM8XAB16xdaieJkdE= Xref: csiph.com comp.lang.c:140754 Ben Bacarisse writes: [...] > I think that, technically, there's no difference in C. A syntax error, > a constraint violation and run-time undefined action are all equivalent: > the C standard imposes no meaning on the text. Syntax errors and constraint violations require diagnostics; undefined behavior does not. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */