Does not compile with llvm clang due to invalid friend declarations
Bug #1358266 reported by
Tobias Föhst
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
speech-tools (Debian) |
Fix Released
|
Unknown
|
|||
speech-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When compiling software using speech-tools, LLVM Clang gives errors regarding invalid friend declarations:
/usr/include/
The reason is, that the standard does only allow friend declarations with default arguments if these also are definitions. GCC is a bit forgiving and ignored this issue up to now.
A workaround with minimal change would be to replace the default arguments by overloading. Please find an according patch attached to this report.
Changed in speech-tools (Debian): | |
status: | Unknown → Fix Committed |
Changed in speech-tools (Debian): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The attachment "fix-friend- declarations. patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]