Actions
Bug #4341
closedLogging macros use reserved identifiers
Start date:
Due date:
% Done:
100%
Estimated time:
Description
src/logger.hpp defines several macros that start with _LOG. According to the ISO C++ standard, paragraph [lex.name]/3, those names must not be used in user programs.
(3) In addition, some identifiers are reserved for use by C++ implementations and shall not be used otherwise; no
diagnostic is required.
(3.1) — Each identifier that contains a double underscore__or begins with an underscore followed by an
uppercase letter is reserved to the implementation for any use.
(3.2) — Each identifier that begins with an underscore is reserved to the implementation for use as a name in
the global namespace.
Actions