anchor.diff:              ?DEBUG("Running dialyzer with options: ~p~n", [Opts2]),
               dialyzer:run(Opts2),
               {0, State}
  +    end.
  +
  +legacy_warnings(Warnings) ->
  +    case dialyzer_version() of
  +       TupleVsn when TupleVsn < {2, 8, 0} ->
  +            [Warning || Warning <- Warnings, Warning =/= unknown];
  +        _ ->
  +            Warnings
       end.
   
   format_warnings(Output, Warnings) ->
  
positive.code:     case proplists:get_bool(get_warnings, Opts) of
          true ->
              WarningsList = get_config(State, warnings, []),
              Opts2 = [{warnings, WarningsList},
                       {check_plt, false} |
                       Opts],
              ?DEBUG("Running dialyzer with options: ~p~n", [Opts2]),
  
negative.code:                     end
              end
      end.
  
  dialyzer_version() ->
      _ = application:load(dialyzer),
      {ok, Vsn} = application:get_key(dialyzer, vsn),
      case string:tokens(Vsn, ".") of
          [Major, Minor] ->
              version_tuple(Major, Minor, "0");
          [Major, Minor, Patch | _] ->
              version_tuple(Major, Minor, Patch)
      end.
  
  version_tuple(Major, Minor, Patch) ->
      {list_to_integer(Major), list_to_integer(Minor), list_to_integer(Patch)}.
  