activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: no closing brace to anonymous namespace in decaf/internal/util/concurrent/Threading.cpp
Date Mon, 14 Jan 2013 20:48:22 GMT
On Mon, 2013-01-14 at 12:40 -0800, jeffrey wrote: 
> In the release 3.5.0 which i recently upgraded to, I am having some problems,
> so I recompiled it and was taking a closer look at some of the warning
> produced and I saw
> 
> "decaf/internal/util/concurrent/Threading.cpp", line 48: warning #2611-D:
> overloaded virtual function
> "decaf::internal::util::concurrent::CompletionCondition::operator()" is only
> partially overridden in class "<unnamed
> namespace>::SuspendedCompletionCondition"
> "decaf/internal/util/concurrent/Threading.cpp", line 1019: warning #2611-D:
> overloaded virtual function
> "decaf::internal::util::concurrent::CompletionCondition::operator()" is only
> partially overridden in class "<unnamed namespace>::JoinCompletionCondition"
> "decaf/internal/util/concurrent/Threading.cpp", line 1149: warning #2611-D:
> overloaded virtual function
> "decaf::internal::util::concurrent::CompletionCondition::operator()" is only
> partially overridden in class "<unnamed
> namespace>::SleepCompletionCondition"
> "decaf/internal/util/concurrent/Threading.cpp", line 1291: warning #2611-D:
> overloaded virtual function
> "decaf::internal::util::concurrent::CompletionCondition::operator()" is only
> partially overridden in class "<unnamed namespace>::ParkCompletionCondition"
> "decaf/internal/util/concurrent/Threading.cpp", line 527: warning #2177-D:
> function "<unnamed namespace>::getNumberOfWaiters" was declared but never
> referenced
> 
> I thought unnamed namespace looked odd, so i took a look at the file and saw
> that the anonymous namespace on line 46 has no closing brace that I can
> find. The other occurances of anonymous namespace in the file all have
> closing braces, so I suspect this is a problem.
> 
> If I am wrong can someone please explain/link good information about it.
> 
> Thanks
> 

A quick glance at the file shows a closing brace for that on line 799

> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/no-closing-brace-to-anonymous-namespace-in-decaf-internal-util-concurrent-Threading-cpp-tp4661728.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com 
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message