This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix __WCHAR_MAX__ bad definition


Kaveh R. Ghazi wrote:-

>  > +  static const char *values[]
>  > +  static const char *suffixes[] = { "", "U", "L", "UL", "LL", "ULL" };
> 
> Please consider const-ifying these arrays, i.e. "static const char *const"

Done, thanks.

Neil.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]