[GCC warning]

Minor issues with the Ogre API that can be trivial to fix
Post Reply
yildiz_online
Halfling
Posts: 40
Joined: Thu Oct 25, 2012 8:56 am
x 1
Contact:

[GCC warning]

Post by yildiz_online »

Duplicate ; in OgreWorkQueue.h

line 475: OGRE_RW_MUTEX(mRWMutex);
line 532: OGRE_RW_MUTEX(mRequestHandlerMutex);
User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4308
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 137
Contact:

Re: [GCC warning]

Post by spacegaier »

Can you please open a ticket on our tracker so that it doesn't get lost here? Thanks!
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
yildiz_online
Halfling
Posts: 40
Joined: Thu Oct 25, 2012 8:56 am
x 1
Contact:

Re: [GCC warning]

Post by yildiz_online »

done
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 110

Compiling error now!

Post by Transporter »

; has been removed now it's not possible to compile! https://bitbucket.org/sinbad/ogre/chang ... 73091a0658

Code: Select all

e:\ogre\ogremain\include\OgreWorkQueue.h(477): error C2146: Syntaxfehler: Fehlendes ';' vor Bezeichner 'RequestHandler'
e:\ogre\ogremain\include\OgreWorkQueue.h(536): error C2144: Syntaxfehler: 'void' sollte auf ';' folgen
You have to add ; behind OGRE_RW_MUTEX(...) or add the ; to its definition in OgreThreadDefinesBoost.h but now the ; is missing total!
Attachments
ogre_a876746_bugfix.patch
Bugfix
(753 Bytes) Downloaded 260 times
Post Reply