Menu

#69 clang-noticed typo in array/asexpr.cc

v1.0 (example)
closed
nobody
None
5
2018-09-21
2015-02-13
No

array/asexpr.cc:31:9: warning: 'BZ_ASEXPR_CC' is used as a header guard here, followed by
#define of a different macro [-Wheader-guard]

ifndef BZ_ASEXPR_CC

    ^~~~~~~~~~~~

array/asexpr.cc:32:9: note: 'BZ_ASEXPR_cc' is defined here; did you mean 'BZ_ASEXPR_CC'?

define BZ_ASEXPR_cc

    ^~~~~~~~~~~~
    BZ_ASEXPR_CC

Discussion

  • Sylwester Arabas

    reposting with correct formatting:

    array/asexpr.cc:31:9: warning: 'BZ_ASEXPR_CC' is used as a header guard here, followed by
          #define of a different macro [-Wheader-guard]
    #ifndef BZ_ASEXPR_CC
            ^~~~~~~~~~~~
    array/asexpr.cc:32:9: note: 'BZ_ASEXPR_cc' is defined here; did you mean 'BZ_ASEXPR_CC'?
    #define BZ_ASEXPR_cc
            ^~~~~~~~~~~~
            BZ_ASEXPR_CC
    
     
  • Sylwester Arabas

    • status: open --> closed
     

Log in to post a comment.