Re: [RFA 09/22] Remove make_cleanup_restore_current_ui

Tom Tromey
2016-10-06T02:53:37Z

>>>>> "Simon" == Simon Marchi <simon.marchi@polymtl.ca> writes:

Simon> We are targetting C++98, aren't we? Or is it C++03? Either way,
Simon> nullptr appeared in C++11, so I guess we can't use it.

Yep. Fixed.

>> #define SWITCH_THRU_ALL_UIS(STATE) \

Simon> You can remove STATE here. I am surprised the preprocessor doesn't
Simon> care about the missing argument in macro references.

Maybe that's a GNU extension. I forget. But anyway I've fixed it.

Tom