From: Greg C. <chi...@co...> - 2007-06-23 21:47:09
|
On 2007-06-23 19:01Z, Christian Ehrlicher wrote: > > I get an ICE with the attached testcase and have no idea how to work > around this bug (one option is to leave away declspec(dllimport) but > that's really ugly). Maybe it is gone with gcc 4.x but as 3.4.5 is the > latest official available version, it would be nice to get a fix (or at > least a good workaround). Using 3.4.5, it compiles with the changes below, which decorate the class rather than just one virtual function. Does that not accomplish what you want? -class templateClass : public myClassA +MY_EXPORT class templateClass : public myClassA - MY_EXPORT virtual void *qt_metacast(); + virtual void *qt_metacast(); |