"e.karge" <e.karge@xxxxxxxxxxxx> writes: > The following code snippet will generate the compiler message quoted > in the subject line. However, things worked fine with gcc > 2.95.3. What's the reason for this You have no copy constructor (Anton(const Anton &a)). > and is there any general solution to work around this? Write one. -- Falk