- pdx_hoda_ismail
- Posts: 4
- Joined:
NS_IMPLEMENT_REFLECTION not throwing error on mistype
Hello!
When misstyping the class name in NS_IMPLEMENT_REFLECTION, I expect to get an assert, an error, or anything that guides me through the problem. However, I don't seem to get any error, instead it will simply not work.
Is there any way to make this work, or to make it less of hassle to debug?
Thanks!
When misstyping the class name in NS_IMPLEMENT_REFLECTION, I expect to get an assert, an error, or anything that guides me through the problem. However, I don't seem to get any error, instead it will simply not work.
Is there any way to make this work, or to make it less of hassle to debug?
Thanks!
-
sfernandez
Site Admin
- Posts: 3109
- Joined:
Re: NS_IMPLEMENT_REFLECTION not throwing error on mistype
When you say misstype you mean using another type that exists and is defined in the cpp unit, right?
Because if I use a non existent type it doesn't compile:
Because if I use a non existent type it doesn't compile:
Could you please provide an example of what is happening to you? You can create a private ticket in our bugtracker if it is better.1>Button.cpp(75,1): error C2653: 'SomeButton': is not a class or namespace name
1>Button.cpp(75,1): error C2065: 'SomeButton': undeclared identifier
1>Button.cpp(75,1): error C2923: 'Noesis::TypeTag': 'SomeButton' is not a valid template type argument for parameter 'T'
...
Who is online
Users browsing this forum: Google [Bot] and 3 guests