Re: gtkmm2.4 and MSVC (again)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Cedric Gustin <cedric gustin swing be> writes:

> class MyHelloWorld : public HelloWorld
> {
> public:
> 	MyHelloWorld() {}

Does
        MyHelloWorld(): HelloWorld() {}
change anything?

It might just be you didn't chain up to the base class constructor?

> 	virtual ~MyHelloWorld() {}
>
> private:
> 	int i;  // comment this out and helloworld does not crash !
> };


- -- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFBhqibVcFcaSW/uEgRAm+QAJkB0Cpk20kRSlXNTfRlbDEFfUZ/vgCgoVZ9
p0ehPxF9Cu87c7tfakvKh3k=
=2ymi
-----END PGP SIGNATURE-----



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