Skip to content
  • Kenneth Moreland's avatar
    Suppress bad deprecation warnings in MSVC · c689a68c
    Kenneth Moreland authored
    The Microsoft compiler has this annoying and stupid behavior where if
    you have a generic templated method/function and that method is
    instantiated with a deprecated class, then the compiler will issue a
    C4996 warning even if the calling code is suppressing that warning
    (because, for example, you are implementing other deprecated code and
    the use is correct). There is no way around this other than suppressing
    the warnings for all uses of the templated method.
    c689a68c