home.social

#cppcheck — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cppcheck, aggregated by home.social.

  1. On MSVC, an enum by default is signed.
    so an anonymous class enum like

    enum { foo, bar, baz
    } mFoo : 2;

    Is not going to be that useful. #MSVC knows about it but only tells you on /Wall, not /W4.

    Maybe #cppcheck could at least gain a check for it ?

    #GCC and #clang seems to do the right thing

    #cpp