Game Development Community

Implement_Conobject - Resolved

by Dion Burgoyne · in Torque 3D Professional · 06/16/2013 (10:20 pm) · 6 replies

I'm seeing an odd compiler issue whenever Implement_Conobject appears in the code, it's throwing an error "cannot be defined in the current scope"

EG:

Error:function "AIConnection::__engineExportScope" cannot be defined in the current scope

is this anything to be concerned with?


#1
06/16/2013 (10:47 pm)
Where are you putting the call to implement_conobject? EDIT: oh wait, do you mean stock code, not code you've modified?
#2
06/16/2013 (10:56 pm)
Exactly, I only noticed it when I added new code for an alternate player class that used it, but when I looked at all of the other places that it's used they're all showing up as errors... it still compiles but it's certainly odd... VC 2010 project btw...
#3
06/17/2013 (7:58 am)
Yeah I get that too, however it doesn't seem to cause bad errors, rather the "intellisense" errors or whatever its called in VC...

I wouldn't worry about it.
#4
06/17/2013 (8:04 am)
Oh, yeah... IntelliSense. Once upon a time it was broken, but now it's broken differently. It doesn't like macros and I don't blame it, but there are definitely some cool uses for them (this being one of them) so I'm prepared to ignore the IDE's suggestions in this case.... lol
#5
06/17/2013 (9:40 am)
Kk, good :) thanks!
#6
07/19/2013 (6:27 am)
Well I did suspect this one to be an odd one, but this thread kind of confirmed it :o)

Thanks for asking the question so many others can read this thread :o)