This is the mail archive of the gcc-bugs@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]

Re: ICE in gcc 2.95.2 [mingw]


> Hmmm ... as far as I can see, the C++ front-end should issue an error
> when it sees this code since the leftmost bases must be all COM. Wonder
> if I goofed when I added the change that allows for *multiple* COM base
> classes, as long as all of those are leftmost. I'll double check with
> my local tree and the mainline one.

FWIW, I tried this code on Linux. After removing all the dllimport and
pragma pack directives, it gave me exactly that error message
(actually, it said there may be only COM bases, or only one COM base)

Regards,
Martin


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