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.
Updated by Damian Coomes almost 8 years ago
- Status changed from New to Code review
- % Done changed from 0 to 90
Updated by Damian Coomes almost 8 years ago
- Status changed from Code review to Closed
- % Done changed from 90 to 100
Actions