Project

General

Profile

Actions

Bug #4341

closed

Logging macros use reserved identifiers

Added by Davide Pesavento about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
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 #1

Updated by Damian Coomes almost 8 years ago

  • Assignee set to Damian Coomes
Actions #2

Updated by Damian Coomes almost 8 years ago

  • Status changed from New to Code review
  • % Done changed from 0 to 90
Actions #3

Updated by Damian Coomes almost 8 years ago

  • Status changed from Code review to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF