On Wed, Aug 1, 2012 at 6:45 AM, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 31/07/2012 22:38, Blue Swirl ha scritto: >>> > It's a whole lot of churn though, and clobbers the history for most QMP >>> > functions. It also seems like a strange thing for clang to complain >>> > about... >> Not really, it's just C99: >> http://en.wikipedia.org/wiki/Restrict >> >> Prefixing would solve also future problems: 'if', 'auto', maybe >> 'static' can make sense for network options (as compared to DHCP) one >> day etc. >> > > We could detect C keywords and prefix (or suffix) an underscore > automatically.
I'll send a new patch which avoids all C keywords. > > Paolo