[mythtv] [PATCH] fifowriter gcc 3.4
Matt Zimmerman
mdz at debian.org
Fri Jun 4 19:39:19 EDT 2004
On Fri, Jun 04, 2004 at 04:23:09PM -0700, Eric Hattemer wrote:
> Matt Zimmerman wrote:
> >What are the errors that you get if you don't change anything?
>
> gcc 3.4 no longer accepts the syntax
> new (x)[y]
Yes, but I want to know _why_ it no longer accepts it. Does ISO forbid it?
Is a typedef really the only way to achieve the desired effect? Allocating
an array of pointers to structs is awfully common.
--
- mdz
More information about the mythtv-dev
mailing list