Hello,
it's g++ 4.3.2 on linux. But I've tested for my self, and you're right -
it can't be the error, so I'm sorry I can't reproduce how the error. I
only know the error was reproduceable whenever I included 2
child-classes from WObject. But it was the only application with this
error. As I said, I restarted the whole project and now everything is
right. And so the only idea I have is the WApplication-constructor. I
played 2 days with it, and if I had only one child-object, everything
were ok - but if I used the second, the application crashed in every 3
loads (average). And I tested it with classes like this:
class C1Test : public WObject {
public:
C1Test() { };
};
class C2Test: public WObject {
public:
C2Test() { };
};
And then only:
C1Test *t1 = new C1Test();
C2Test *t2 = new C2Test();
So I don't understand why an Application are able crash on initialize
second class?
Greetings
Torsten
Am 26.03.2009 17:41, schrieb Koen Deforche:
Hey Torsten,
2009/3/26 Torsten Schulz<[email protected]>:
Hello Wim,
I'm sorry but I'm unable to do so. I couldn't find out the reason, so I
restarted the whole project and erased the old one. If I'm right, the only
thing I've changed are the Construtor of the WApplication-Child. First it
was only
NewApplication::NewApplication()
{
}
That is strange since WApplication does not have a default constructor...
/home/koen/project/wt/git/wt/test/test/test15.cc: In constructor
‘Test::Test(const Wt::WEnvironment&)’:
/home/koen/project/wt/git/wt/test/test/test15.cc:14: error: no
matching function for call to ‘Wt::WApplication::WApplication()’
/home/koen/project/wt/git/wt/src/Wt/WApplication:182: note: candidates
are: Wt::WApplication::WApplication(const Wt::WEnvironment&)
What compiler, platform are you using ?
Regards,
koen
------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest