Hello!

I'm having big trouble with my easy class:

class CSignal
{
public:
    CSignal(void)
  {
         m_this = this;
  };

    ~CSignal(void);

protected:
      static CSignal *m_this;
}:

and after linking the output is af follows:

: undefined reference to `CService::m_this'

The code works on Visual Studio C++ and what's the matter about g++?
What's the sollution?
Thanks in advance for help. Matt

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to