Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #89252

Re: efficient coding with literals and variables

From Ike Naar <ike@iceland.freeshell.org>
Newsgroups comp.lang.c
Subject Re: efficient coding with literals and variables
Date 2016-06-16 05:41 +0000
Organization A noiseless patient Spider
Message-ID <slrn3vfsnm4evd.2ic.ike@iceland.freeshell.org> (permalink)
References (2 earlier) <njqucm$1e9$1@dont-email.me> <slrn3vfsnm3hqh.i2o.ike@iceland.freeshell.org> <njsio7$34q$1@dont-email.me> <slrn3vfsnm3md4.i2o.ike@iceland.freeshell.org> <e876e4b6-03b8-8671-6931-120d0d66b109@verizon.net>

Show all headers | View raw


On 2016-06-15, James R. Kuyper <jameskuyper@verizon.net> wrote:
> On 06/15/2016 06:41 PM, Ike Naar wrote:
> ...
>>   int * const * int const x;
>
> The syntax for pointer declarations doesn't allow anything other than
> type qualifiers between the '*' and the part that 6.7.6.1p1 calls "D".
> In this context, "D" refers to "x", and the second 'int' is therefore a
> syntax error.

You're right. It was a typo, the second 'int' shouldn't be there.

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: efficient coding with literals and variables BartC <bc@freeuk.com> - 2016-06-14 20:53 +0100
  Re: efficient coding with literals and variables David Brown <david.brown@hesbynett.no> - 2016-06-15 08:59 +0200
    Re: efficient coding with literals and variables Keith Thompson <kst-u@mib.org> - 2016-06-15 10:01 -0700
      Re: efficient coding with literals and variables David Brown <david.brown@hesbynett.no> - 2016-06-15 19:47 +0200
        Re: efficient coding with literals and variables Keith Thompson <kst-u@mib.org> - 2016-06-15 11:47 -0700
    Re: efficient coding with literals and variables Ike Naar <ike@iceland.freeshell.org> - 2016-06-15 21:23 +0000
      Re: efficient coding with literals and variables David Brown <david.brown@hesbynett.no> - 2016-06-15 23:53 +0200
        Re: efficient coding with literals and variables Ike Naar <ike@iceland.freeshell.org> - 2016-06-15 22:41 +0000
          Re: efficient coding with literals and variables "James R. Kuyper" <jameskuyper@verizon.net> - 2016-06-15 18:54 -0400
            Re: efficient coding with literals and variables Ike Naar <ike@iceland.freeshell.org> - 2016-06-16 05:41 +0000
          Re: efficient coding with literals and variables David Brown <david.brown@hesbynett.no> - 2016-06-16 09:12 +0200
      Re: efficient coding with literals and variables Keith Thompson <kst-u@mib.org> - 2016-06-15 14:53 -0700

csiph-web