On 28 March 2013 09:16, chinhow wrote: > My code is as below > bmdbFile& bmdbFile::operator=( // assignment operator > const bmdbFile& v // source bmdbFile > ); > > However, the :: is not recognized by the gcc version 4.1.1 > What shall i changed it to? This question is very difficult to answer because you haven't given enough information, Is that your entire code? Is bmdbFile defined? How are you attempting to compile it?