[Prev][Next][Index]

Re: Bug with generated print functions in pC++




> the typedef is the source of the problem.  i will look
> into it.

I'm almost certain that a call to 
getTrueType(MASK_MOST_DESCRIPTORS, FOLLOW_TYPEDEFS) inserted in the
correct place will take care of your typing problem.

There are two calls to something->type() in makeNewPrintf. Try
changing these to
  something->type()->getTrueType(MASK_MOST_DESCRIPTORS, FOLLOW_TYPEDEFS)
and see if that works.

/Andrew/