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/PixelLumi: definite static const int members #11721

Merged
merged 1 commit into from Oct 15, 2015

Commits on Oct 10, 2015

  1. DQM/PixelLumi: 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 Oct 10, 2015
    Copy the full SHA
    be2235f View commit details
    Browse the repository at this point in the history