2013/2/12 Justin Bogner <m...@justinbogner.com>

> Armin Rigo <ar...@tunes.org> writes:
> > Ah, indeed.  We declare most arrays as "itemtype x[1]", so gcc complains
> > when it can prove we do accesses at an index > 0.
>
> Is there a good reason not to use the C99 "itemtype x[]" or even the old
> GCC extension "itemtype x[0]"? These won't trigger this warning, which
> means we could leave it on in case a legitimate case crops up.


It seems that Microsoft compilers also support this extension:
http://msdn.microsoft.com/en-us/library/b6fae073(v=vs.71).aspx


-- 
Amaury Forgeot d'Arc
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to