All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Pfaff <blp@cs.stanford.edu>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 12/13] "const static" vs "static const" in nfs4
Date: Fri, 24 Feb 2006 15:22:27 -0800	[thread overview]
Message-ID: <87oe0wxryk.fsf@benpfaff.org> (raw)
In-Reply-To: 20060224231749.GH27946@ftp.linux.org.uk

Al Viro <viro@ftp.linux.org.uk> writes:

> On Sat, Feb 25, 2006 at 12:01:32AM +0100, Jesper Juhl wrote:
>> No need for that. It's just something that ICC complains about
>> "storage class not being first" - gcc doesn't care.
>
> Neither does C99, so ICC really should either STFU or make that warning
> independent from the rest and possible to turn off...

C99 does deprecate "const static":

     6.11.5 Storage-class specifiers
1    The placement of a storage-class specifier other than at the
     beginning of the declaration specifiers in a declaration is
     an obsolescent feature.

-- 
Ben Pfaff 
email: blp@cs.stanford.edu
web: http://benpfaff.org


  parent reply	other threads:[~2006-02-24 23:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-24 20:49 [PATCH 12/13] "const static" vs "static const" in nfs4 Jesper Juhl
2006-02-24 22:59 ` Trond Myklebust
2006-02-24 23:01   ` Jesper Juhl
2006-02-24 23:17     ` Al Viro
2006-02-24 23:20       ` Jesper Juhl
2006-02-24 23:22       ` Ben Pfaff [this message]
2006-02-25  9:36         ` Jan Engelhardt
2006-02-25 10:05           ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oe0wxryk.fsf@benpfaff.org \
    --to=blp@cs.stanford.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.