Re: [PATCH v1] cleanup: adjust scoped_guard() to avoid potential warning

From: Andy Shevchenko
Date: Thu Oct 03 2024 - 08:44:44 EST


On Thu, Oct 03, 2024 at 02:34:57PM +0200, Markus Elfring wrote:



> > "__" prefix added to internal macros;



> Would you get into the mood to reconsider the usage of leading underscores
> any more for selected identifiers?
> https://wiki.sei.cmu.edu/confluence/display/c/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier

The mentioned URL doesn't cover the special cases like the kernels of the
operating systems or other quite low level code.

--
With Best Regards,
Andy Shevchenko