On Sun, Apr 22, 2012 at 09:45:42PM +0200, Andreas Tille wrote: > Hi, > > I tried to follow the hints to fix this problem but failed. > Any more skilled C++ programmer than me who might have a clue? Hi, It's just incorrect code (sets.cpp): 703 for (int i=0; i<snpset.size(); i++) 704 { 705 706 vector_t profile; 707 vector<int> count; 708 vector<int> acount; ... 771 vector<Individual*>::iterator i = PP->sample.begin(); 772 while ( i != PP->sample.end() ) 773 { 774 (*i)->missing = (*i)->flag; 775 ++i; 776 } As you can see, there is nested declaration here. It's wrong. Looks like this code was working due to some GCC bug. Other compilers forbids this too. So just change lines 771-776 to use some other variable name. Regards -- WBR, Dmitry
Attachment:
signature.asc
Description: Digital signature