Skip to content

Fails to build with GCC-11 (C++17 default) #39

@a17r

Description

@a17r
In file included from src/fingerprint/Fingerprint.cpp:21:
src/fingerprint/Fingerprint.h:74:49: error: ISO C++17 does not allow dynamic exception specifications
   74 |         void generate( FingerprintableSource* ) throw( Error );
      |                                                 ^~~~~
src/fingerprint/Fingerprint.h:85:86: error: ISO C++17 does not allow dynamic exception specifications
   85 |         void decode( QNetworkReply*, bool* lastfm_needs_a_complete_fingerprint = 0 ) throw( Error );
      |                                                                                      ^~~~~
src/fingerprint/Fingerprint.cpp:97:60: error: ISO C++17 does not allow dynamic exception specifications
   97 | lastfm::Fingerprint::generate( FingerprintableSource* ms ) throw( Error )
      |                                                            ^~~~~
src/fingerprint/Fingerprint.cpp:309:91: error: ISO C++17 does not allow dynamic exception specifications
  309 | lastfm::Fingerprint::decode( QNetworkReply* reply, bool* complete_fingerprint_requested ) throw( Error )
      |                                                                                           ^~~~~

Downstream report: https://bugs.gentoo.org/787128

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