Skip to content

VC2Encoder.hpp:94:44: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated] #4

Description

@hannob

Compiling with gcc 7.3.0 causes this:

In file included from vc2hqencode.cpp:27:0:
VC2Encoder.hpp:94:44: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
   void setParams(VC2EncoderParams &params) throw(VC2EncoderResult);
                                            ^~~~~

It is generally not advisable to enable Werror by default outside of testing environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions