Deutsch English Français Italiano |
<8734ohpeid.fsf@bsb.me.uk> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse <ben@bsb.me.uk> Newsgroups: comp.lang.c Subject: Re: technology discussion =?utf-8?Q?=E2=86=92?= does the world need a "new" C ? Date: Wed, 10 Jul 2024 14:23:22 +0100 Organization: A noiseless patient Spider Lines: 13 Message-ID: <8734ohpeid.fsf@bsb.me.uk> References: <v66eci$2qeee$1@dont-email.me> <v67gt1$2vq6a$2@dont-email.me> <v687h2$36i6p$1@dont-email.me> <871q48w98e.fsf@nosuchdomain.example.com> <v68dsm$37sg2$1@dont-email.me> <87wmlzvfqp.fsf@nosuchdomain.example.com> <v6ard1$3ngh6$4@dont-email.me> <87le2eupl8.fsf@nosuchdomain.example.com> <v6l7o5$1poc2$1@dont-email.me> <20240710042117.423@kylheku.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Wed, 10 Jul 2024 15:23:23 +0200 (CEST) Injection-Info: dont-email.me; posting-host="4de7691f4ab8416481d0de19b6a8d938"; logging-data="2035642"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/R1yHJ9zH/Mchr4wElc0eMcwPuA5ZK4j0=" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:cx3xtLWYfPTeBPZomtObku88McY= sha1:Rm448GvRKQJg5ojrySU/3cy+qzs= X-BSB-Auth: 1.4ea64cf20ce52c5e11a9.20240710142322BST.8734ohpeid.fsf@bsb.me.uk Bytes: 1711 Kaz Kylheku <643-408-1753@kylheku.com> writes: > - int (f[3])(void) { }, function returning array of 3 int, > is a constraint violation. Nit: this is an array of three functions. Also a constraint violation and a syntax error as array declarations can't be followed by {}s. The impossible declaration you want would be written int F(void)[3] {} -- Ben.