Project

General

Profile

Bug #473

jack-ng does not compile with Clang

Added by Thomas Lange about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Minor
Assignee:
-
Category:
plugins/jack
Target version:
Start date:
October 28, 2014
Due date:
% Done:

100%

Estimated time:
Affects version:

Description

With Clang 3.5.0 on Arch Linux this error occurs when building jack-ng:

jack-ng.cc:55:15: error: constexpr constructor never produces a constant expression [-Winvalid-constexpr]
    constexpr JACKOutput () : OutputPlugin (info, 0) {}
              ^
jack-ng.cc:55:15: note: non-literal type 'RingBuf<float>' cannot be used in a constant expression
1 error generated.
Failed to compile jack-ng.cc (plugin)!

History

#1 Updated by John Lindgren about 10 years ago

  • Status changed from New to Closed
  • Target version set to 3.6
  • % Done changed from 0 to 100

#2 Updated by John Lindgren about 10 years ago

Interestingly enough, the code would have compiled with -std=c++14.

Also available in: Atom PDF