This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: I'm sorry, but this is unacceptable (union members and ctors)


On 16 June 2007 19:54, michael.a wrote:

> used to aide the compiler for further robustness. In the meantime, I would
> very much appreciate it if you could share any specific directions towards
> minimally hacking the g++ frontend to let the code through. The way I tend
> to use these unions, is always an anonymous union inside a structure. Its
> harmless, and dummy constructors can be used and optimized out later. Its
> just the error that brings everything to a halt.

  Well, you could try just removing the errors like so (attached, untested).
No guarantees that this will work properly and won't just cause errors,
miscompilations or crashes further down the line.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

Attachment: suppress-errors-patch.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]