This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: Fix thread diagnostics
On Fri, 25 Jun 2004 19:54:54 -0700, Mark Mitchell <mark@codesourcery.com> wrote:
> Richard Henderson wrote:
>
>>On Thu, Jun 24, 2004 at 09:46:28PM -0700, Mark Mitchell wrote:
>>>! static const char *decl_spec_names[] = {
>> ^
>>
> Sorry, that was too terse for me. :-)
>
> Are you saying I should have put the "const" after the "char"? Is that
> part of our coding standards? Or that I should have another "const" after
> the "*"? Or ...?
The latter, so the array can be put into readonly memory.
Jason