> Then I assume it's a bug in gcc to give a warning about this? It's a debatable question. I suppose gcc's format grokking could be made to vary based on -std= or something. I suspect they just won't want to change it, since it's only for compatibility with obsolete versions of things that anybody's source would use %as nowadays.