Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DQM/L1TMonitor: definite static const int members #7249

Merged
merged 1 commit into from
Jan 19, 2015

Commits on Jan 17, 2015

  1. DQM/L1TMonitor: definite static const int members

    The patch resolves issue with Clang compiler.
    
    N3690 (should be C++11 standard), 9.4.2/3
    
        ...
        The member shall still be defined in a namespace scope if it
        is odr-used (3.2) in the program and the namespace scope definition
        shall not contain an initializer.
    
    9.4.2/4 talks about how `const static` data members are being handled.
    
    Also standard says that no diagnostic is required by compiler.
    
    Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
    David Abdurachmanov authored and David Abdurachmanov committed Jan 17, 2015
    Configuration menu
    Copy the full SHA
    5790fc1 View commit details
    Browse the repository at this point in the history