Skip to content
  • Alexandre Duret-Lutz's avatar
    Fix "unused function" warnings reported by clang++. · fe535a15
    Alexandre Duret-Lutz authored
    * src/evtgbaparse/Makefile.am, src/ltlparse/Makefile.am,
    src/neverparse/Makefile.am, src/tgbaparse/Makefile.am
    (AM_CPPFLAGS): Define -DYY_NO_INPUT so that the unused yyinput()
    function does not get compiled.
    * src/eltlparse/Makefile.am (AM_CPPFLAGS): Likewise.
    (AM_CXXFLAGS): Also enable warnings.
    * src/eltlparse/eltlparse.yy: Move helper functions from
    the "%code requires" block to the "%code" block, so that they
    do not appear in the eltlparse.hh file (which is included in
    two places...).
    * iface/nips/nips.cc (search_error_callback_assert): Comment
    this unused function.
    fe535a15