Menu

latest cppcheck: syntax error due to 'alignof'

Martin
2021-04-26
2021-04-27
  • Martin

    Martin - 2021-04-26

    Hi,

    cppcheck currently throws a syntax error on this line:

    static_assert( alignof( VertexC ) == 4, "alignof( VertexC ) != 4," );

    foo.cpp:1:14: error: syntax error [syntaxError]
    static_assert( alignof( VertexC ) == 4, "alignof( VertexC ) != 4," );

    Could you please check?

    Thanks,
    Martin

     
  • Daniel Marjamäki

    Ouch! I will look on that.

     
  • Martin

    Martin - 2021-04-27

    Thanks!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.