wno_conversion

View page source

Suppress Suspect Implicit Conversion Warnings

Syntax

# include <cppad/wno_conversion.hpp>

Purpose

In many cases it is good to have warnings for implicit conversions that may loose range or precision. The include command above, before any other includes, suppresses these warning for a particular compilation unit (which usually corresponds to a * . cpp file).