Package: octave-miscellaneous Severity: minor Tags: patch User: [email protected] 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/octave-miscellaneous_1.2.0-2_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
--- octave-miscellaneous-1.2.0/src/partarray.cc 2012-03-24 15:53:23.000000000 -0400 +++ octave-miscellaneous-1.2.0-my/src/partarray.cc 2014-05-24 11:00:40.687982970 -0400 @@ -39,7 +39,8 @@ Array<int> nidx (dim_vector (maxdims, 1)); // Octave-3.2.4 reports "missing symbol" with Array<Array< > >, // though 3.3.54+ does not - Array<octave_idx_type> bidc [maxdims], eidc [maxdims]; + Array<octave_idx_type> *bidc = reinterpret_cast<Array<octave_idx_type> *>(alloca(sizeof(Array<octave_idx_type>) * maxdims)); + Array<octave_idx_type> *eidc = reinterpret_cast<Array<octave_idx_type> *>(alloca(sizeof(Array<octave_idx_type>) * maxdims)); // Array<octave_idx_type> step (dim_vector (maxdims, 1)); step(0) = 1;

