Public bug reported: When compiling software using speech-tools, LLVM Clang gives errors regarding invalid friend declarations: /usr/include/estools/EST_String.h:576:16: error: friend declaration specifying a default argument must be a definition
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. ** Affects: speech-tools (Ubuntu) Importance: Undecided Status: New ** Patch added: "fix-friend-declarations.patch" https://bugs.launchpad.net/bugs/1358266/+attachment/4180534/+files/fix-friend-declarations.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1358266 Title: Does not compile with llvm clang due to invalid friend declarations To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/speech-tools/+bug/1358266/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs