# Copyright 2017 Rene Rivera
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)

# TODO: Documentation.

import feature ;

feature.feature warnings
    :
    on          # Enable default/"reasonable" warning level for the tool.
    all         # Enable all possible warnings issued by the tool.
    extra       # Enable extra, possibly conflicting, warnings issued by the tool.
    pedantic    # Enable likely inconsequential, and conflicting, warnings.
    off         # Disable all warnings issued by the tool.
    : incidental propagated ;

feature.feature warnings-as-errors
    :
    off        # Do not fail the compilation if there are warnings.
    on         # Fail the compilation if there are warnings.
    : incidental propagated ;
