This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [mainline] PATCH to diagnostic.[hc]
"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:
| > Gabriel Dos Reis <gdr@integrable-solutions.net> writes:
| >
| > > This was suggested by Kaveh.
| >
| > Can you maybe make 'w' a size qualifier, so %wd / %wi / %wu / %wx all
| > work? That would supersede *all* of the HOST_WIDE_INT_PRINT_* macros.
|
|
| Actually Gaby, Zack's proposal *is* what I suggested. I.e. instead
| of this:
It turned out I didn't understand both of your proposal. Sorry.
[...]
| I meant it should be this:
|
| %o: unsigned integer in base eight.
| %x: unsigned integer in base sixteen.
| %ld, %li, %lo, %lu, %lx: long versions of the above.
| + %lld, %lli, %llo, %llu, %llx: long versions of the above.
| + %wd, %wi, %wo, %wu, %wx: HOST_WIDE_INT versions of the above.
OK, due to my being on road I would not be able to commit thge change
before friday.
Thanks,
-- gaby