UUID Error in Beta 2
by Nathan Bowhay - ESAL · in Torque 3D Professional · 09/20/2010 (5:40 pm) · 6 replies
I upgraded my code from Torque 3D 1.1 Alpha to Beta 2 and am getting several ambiguous symbol errors. I know it has to do with using namespace Torque cause there is a UUID in that namespace as well as rpcdce.h
I probably messed something else in the merge, cause I didn't get the error before, but I wanted to check and make sure no one else was getting this error. I also wanted to ask if anyone had a clue where it could be an issue so I can narrow it down a bit.
I am going to continue to try and figure it out and will post if I find it.
I probably messed something else in the merge, cause I didn't get the error before, but I wanted to check and make sure no one else was getting this error. I also wanted to ask if anyone had a clue where it could be an issue so I can narrow it down a bit.
I am going to continue to try and figure it out and will post if I find it.
#2
I will take a look where it is used and change it to that.
09/20/2010 (8:01 pm)
I think it is resourceManager.h which seems to be included in a ton of files and has using namespace Torque; which is in the stock version of torque.I will take a look where it is used and change it to that.
#3
09/20/2010 (8:25 pm)
The odd thing is the error is in rpcnsi.h, rpcdcep.h and rpcdce.h.
#4
If it's the ambiguity error and it's included after uuid.h and a using namespace Torque; the error will be in those headers.
09/20/2010 (8:31 pm)
If it's the ambiguity error and it's included after uuid.h and a using namespace Torque; the error will be in those headers.
#6
04/15/2013 (1:27 am)
I can't remember exactly as it was a bit ago and I'm upgraded to the current dev on Github so stuff changed quite a bit. I am pretty sure though I just needed to specify the namespace as Rene suggested.
Associate Rene Damm
Yep, must be some using declaration for namespace Torque.
I'd recommend just putting absolute qualifiers on the conflicting symbols, i.e. ::UUID for the rpcdce.h type and ::Torque::UUID for Torque's UUID.