On 28 March 2013 09:18, Jonathan Wakely wrote: > 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? And most importantly, what is the error you get? "Not recognised" doesn't sound like a real GCC error for this code.