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

From: Przemek Kitszel
Date: Mon Oct 07 2024 - 06:14:32 EST


On 10/3/24 18:00, 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.
Can such a view be clarified further according to available information?

Regards,
Markus

could you please update CMU SEI wiki to be relevant for kernel drivers
development, so future generations of C bureaucrats would not be fooled?