Package: steghide 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). See build logs here: http://clang.debian.net/logs/2014-01-14/steghide_0.5.1-9_unstable_clang.log Thanks, Alexander -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.13-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- steghide-0.5.1/src/BmpFile.cc 2003-09-28 11:30:30.000000000 -0400 +++ steghide-0.5.1-my/src/BmpFile.cc 2014-06-01 15:29:32.484573036 -0400 @@ -214,10 +214,10 @@ // create reservoir - for every i reservoir[i] contains the sample values that are neighbourss of // the sample value with label i and have a lower label (and have already been found) // This is necessary to use collapsing trees together with bucket sort (without huge increase in memory usage) - std::vector<BmpRGBSampleValue*> reservoir[svs.size()] ; + std::vector<BmpRGBSampleValue*> *reservoir = static_cast<std::vector<BmpRGBSampleValue*> *>(alloca(sizeof(std::vector<BmpRGBSampleValue*>) * svs.size())); // neighbours sorted by distance (for the current source sample value) - std::vector<BmpRGBSampleValue*> neighbours_byd[r + 1] ; + std::vector<BmpRGBSampleValue*> *neighbours_byd = static_cast<std::vector<BmpRGBSampleValue*> *>(alloca(sizeof(std::vector<BmpRGBSampleValue*>) * (r + 1))); for (std::vector<SampleValue*>::const_iterator srcsvit = svs.begin() ; srcsvit != svs.end() ; srcsvit++) { BmpRGBSampleValue* srcsv = (BmpRGBSampleValue*) (*srcsvit) ;