|
From: Julian S. <js...@ac...> - 2007-11-07 03:29:23
|
Dirk, hi. I was just poking at your FORMATCHECK branch with a view to merging it into the trunk. After reading POSIX I understand why gcc accepts %#x, #%lx and #%llx - because POSIX defines what these mean, so they are ok. So my question is, why does gcc accept %, ? I didn't read anything about ',' following the leading '%', but still gcc accepts it. Does it have a defined meaning? Thanks, J |
|
From: Dirk M. <dm...@gm...> - 2007-11-07 17:23:04
|
On Wednesday 07 November 2007, Julian Seward wrote: > Dirk, hi. I was just poking at your FORMATCHECK branch with a view > to merging it into the trunk. Hi Julian, I think I have one open TODO to fix before merging, thats why I didn`t propose it yet. > So my question is, why does gcc accept %, ? I didn't read anything > about ',' following the leading '%', but still gcc accepts it. it doesn`t: warning: unknown converstion type character `,` in format. it might be that the format checking attribute is misisng for that particular function prototype. I think that the TODO-I-have-open-but-can`t-remember (see above) and your question here are the same thing, though I have to double check. I do have some uncommitted changes, but no time yet to look through them. > Does it have a defined meaning? No. Greetings, Dirk |