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: Support for %d$c format specifier in diagnostics.c


"Kaveh R. Ghazi" wrote:
> 
>  > This is the second cut for the patch to support positional format
>  > specifier for diagnostic messege print routines.
>  >
>  > Comments/feedback welcome.
> 
> Have you considered format checking for this new capability?
> 
>

Nope. I must have missed the discussion.
Could you kindly point me to an appropriate posting
in newsgroups/mailing list archives?

But, the short current answer is I thought someone is 
going to write an independent static check module
for *.po files, etc..
Maybe the "format checking" refers to this.
(But it was NOT my intention to check the C source files, but
maybe I misunderstood the premise. My main target for
%1$s, etc. would be for *.po files for I18N/L10N work.
I believe this was the background for suggestion from Zack Weinberg,
too.)

Happy Hacking,

Ishikawa, Chiaki


 
-- 
int main(void){int j=2003;/*(c)2003 cishikawa. */
char t[] ="<CI> @abcdefghijklmnopqrstuvwxyz.,\n\"";
char *i ="g>qtCIuqivb,gCwe\np@.ietCIuqi\"tqkvv is>dnamz";
while(*i)((j+=strchr(t,*i++)-(int)t),(j%=sizeof t-1),
(putchar(t[j])));return 0;}/* under GPL */


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