Menu

Boost unknown macro

memif40300
2021-04-02
2021-04-07
  • memif40300

    memif40300 - 2021-04-02

    Running cppcheck-2.4.1 leaves 2 unknown boost macro macro in my codebase.

    #include <boost/logic/tribool.hpp>
    
    // cppcheck-suppress unknownMacro
    BOOST_TRIBOOL_THIRD_STATE(tribool_maybe)
    
    BOOST_RV_REF(boost::movelib::unique_ptr<Template>)
    
     

    Last edit: memif40300 2021-04-02
  • memif40300

    memif40300 - 2021-04-06

    Could we create issue?

     
  • Daniel Marjamäki

    I wonder could you try to configure the boost.cfg with these:

    <define name="BOOST_TRIBOOL_THIRD_STATE(Name)" value=""/>
    <define name="BOOST_RV_REF(TYPE)" value="::boost::rv &lt; TYPE &gt;"/>
    
     

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.