This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug other/82784] Remove semicolon after "do {} while (0)" macros


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
So the way it's used is correct ... but why bother with the do {...} while(0)
in that case? It could just use {...} instead.

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