Advertisement

Manual bind to slot 4294967295 failed

Started by October 31, 2017 02:55 PM
11 comments, last by matt77hias 7 years, 3 months ago

This is not the same thing, what you do here is not a pre-processor error, the compiler will believe MY_MACRO is an undeclared symbol.

I am talking about :


#if NOT_DEFINED // if NOT_DEFINED is undefined, then the default behavior is to consider it 0
we are not in :(
#endif

#if !ANOTHER 
we are in :)
#endif

#if YET_ANOTHER + 2 == 2
we are in :) but did we want it !
#endif

 

Ok. But I used an undefined symbol, concatenated it with a "b" in some other macro and used in some other macro to generate a cbuffer declaration which must have resulted in something like:

cbuffer Widget : register(b) {

...

}

🧙

This topic is closed to new replies.

Advertisement