Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

C++11 warnings result in build failure. #110

@edsu

Description

@edsu

When building on Ubuntu I'm seeing warnings like this that ultimately result in a build failure:

In file included from /code/libmei-3.1.0/src/meiattribute.cpp:2:0:
/code/libmei-3.1.0/src/meielement.h:181:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
         void setDocument(MeiDocument *doc) throw (DocumentRootNotSetException);

Normally warnings are not considered errors, but the compiler is being asked to make them errorrs. When I remove those lines the build succeeds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions