Source: libcommoncpp2 Severity: minor Tags: patch User: pkg-llvm-t...@lists.alioth.debian.org Usertags: clang-ftbfs
Hello, Using the rebuild infrastructure, your package fails to build with clang (instead of gcc). We detected this kinf of error: http://clang.debian.net/status.php?version=3.4.2&key=WRONG_DEFAULT_DECLARATION Full build log is available here: http://clang.debian.net/logs/2014-06-16/libcommoncpp2_1.8.1-6_unstable_clang.log Thanks, Alexander -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- ./inc/cc++/string.h 2010-11-01 01:49:18.000000000 +0300 +++ ../libcommoncpp2-1.8.1-my/./inc/cc++/string.h 2014-07-30 00:58:31.803050848 +0400 @@ -58,6 +58,9 @@ class MemPager; +class String; +__EXPORT std::istream &getline(std::istream &is, String &str, char delim = '\n', size_t size = 0); + /** * This is a generic and portable string class. It uses optimized * memory allocation strategies to efficiently handle smaller string @@ -731,7 +734,7 @@ * @param delim deliminator to use. * @param size optional size limitor. */ - friend __EXPORT std::istream &getline(std::istream &is, String &str, char delim = '\n', size_t size = 0); + friend __EXPORT std::istream &getline(std::istream &is, String &str, char delim, size_t size); /** * Stream the content of our string variable directly to a C++