Wednesday, January 12, 2011

error: pasting "::" and "xyz" does not give a valid preprocessing token

if u get the error like

"error: pasting "::" and "xyz" does not give a valid preprocessing token"

then

Remove ## before scope resolution opeator.
For e.g change "ErrorId::##TypeId" to "ErrorId::TypeId"

No comments:

Post a Comment