Re: error: definition of static data member '%s' of dllimport'd class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Aleksei,

If I'm not mistaken, I believe you need more than a forward declaration to VariablesImpl in the header file.

That is to say, you need the fully specified declaration of VariablesImpl BEFORE the "static VariablesImpl m_Impl;" declaration in the header file.

One way around this would be to use "static VariablesImpl* m_Impl;" in the header file, instead.

HTH,
--Eljay



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux