public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* :: not recognized in 4.1.1
@ 2013-03-28  9:16 chinhow
  2013-03-28  9:18 ` Jonathan Wakely
  0 siblings, 1 reply; 3+ messages in thread
From: chinhow @ 2013-03-28  9:16 UTC (permalink / raw)
  To: gcc-help

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? 
Thanks. 



--
View this message in context: http://gcc.1065356.n5.nabble.com/not-recognized-in-4-1-1-tp925176.html
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: :: not recognized in 4.1.1
  2013-03-28  9:16 :: not recognized in 4.1.1 chinhow
@ 2013-03-28  9:18 ` Jonathan Wakely
  2013-03-28 10:56   ` Jonathan Wakely
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Wakely @ 2013-03-28  9:18 UTC (permalink / raw)
  To: chinhow; +Cc: gcc-help

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: :: not recognized in 4.1.1
  2013-03-28  9:18 ` Jonathan Wakely
@ 2013-03-28 10:56   ` Jonathan Wakely
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Wakely @ 2013-03-28 10:56 UTC (permalink / raw)
  To: chinhow; +Cc: gcc-help

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-28 10:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-28  9:16 :: not recognized in 4.1.1 chinhow
2013-03-28  9:18 ` Jonathan Wakely
2013-03-28 10:56   ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).