This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA 09/22] Remove make_cleanup_restore_current_ui


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]