SyntaxFix
Write A Post
Hire A Developer
Questions
#pragma push/pop are often a solution for this kind of problems, but in this case why don't you just remove the unreferenced variable?
#pragma
try { // ... } catch(const your_exception_type &) // type specified but no variable declared { // ... }