Thanks for notifying me. Fixed in 16b2ca4f0 [1]. Will prepare a new
release including the fix in the near future.

[1] https://github.com/neurodroid/stimfit/commit/16b2ca4f0

On Tue, Jan 19, 2016 at 07:26:47PM -0800, Martin Michlmayr wrote:
> Package: stimfit
> Version: 0.14.11-1
> Severity: important
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-6 gcc-6-not-declared
> 
> This package fails to build with GCC 6.  GCC 6 has not been released
> yet, but it's expected that GCC 6 will become the default compiler for
> stretch.
> 
> Note that only the first error is reported; there might be more.  You
> can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
> you can set CC=gcc-6 CXX=g++-6 explicitly.
> 
> You may be able to find out more about this issue at
> https://gcc.gnu.org/gcc-6/changes.html
> 
> > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
> ...
> >   CXX      stimfittest-gtest_main.o
> > In file included from ./src/test/channel.cpp:2:0:
> > ./src/test/gtest/include/gtest/gtest.h: In instantiation of 
> > 'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const 
> > char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int]':
> > ./src/test/gtest/include/gtest/gtest.h:1484:23:   required from 'static 
> > testing::AssertionResult 
> > testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, 
> > const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int; 
> > bool lhs_is_null_literal = false]'
> > ./src/test/channel.cpp:7:5:   required from here
> > ./src/test/gtest/include/gtest/gtest.h:1448:16: warning: comparison between 
> > signed and unsigned integer expressions [-Wsign-compare]
> >    if (expected == actual) {
> >        ~~~~~~~~~^~~~~~~~~
> > 
> > In file included from ./src/test/section.cpp:2:0:
> > ./src/test/gtest/include/gtest/gtest.h: In instantiation of 
> > 'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const 
> > char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int]':
> > ./src/test/gtest/include/gtest/gtest.h:1484:23:   required from 'static 
> > testing::AssertionResult 
> > testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, 
> > const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int; 
> > bool lhs_is_null_literal = false]'
> > ./src/test/section.cpp:6:5:   required from here
> > ./src/test/gtest/include/gtest/gtest.h:1448:16: warning: comparison between 
> > signed and unsigned integer expressions [-Wsign-compare]
> >    if (expected == actual) {
> >        ~~~~~~~~~^~~~~~~~~
> > 
> > In file included from ./src/test/recording.cpp:2:0:
> > ./src/test/gtest/include/gtest/gtest.h: In instantiation of 
> > 'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const 
> > char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int]':
> > ./src/test/gtest/include/gtest/gtest.h:1484:23:   required from 'static 
> > testing::AssertionResult 
> > testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, 
> > const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int; 
> > bool lhs_is_null_literal = false]'
> > ./src/test/recording.cpp:7:5:   required from here
> > ./src/test/gtest/include/gtest/gtest.h:1448:16: warning: comparison between 
> > signed and unsigned integer expressions [-Wsign-compare]
> >    if (expected == actual) {
> >        ~~~~~~~~~^~~~~~~~~
> > 
> > ./src/test/fit.cpp: In member function 'virtual void 
> > fitlib_test_monoexponential_Test::TestBody()':
> > ./src/test/fit.cpp:224:23: warning: comparison between signed and unsigned 
> > integer expressions [-Wsign-compare]
> >      for (int n = 0; n < data.size(); ++n) {
> >                      ~~^~~~~~~~~~~~~
> > 
> > ./src/test/fit.cpp:241:12: warning: unused variable 'chisqr' 
> > [-Wunused-variable]
> >      double chisqr = stfnum::lmFit(data, 1.0, funcLib[0], opts,
> >             ^~~~~~
> > 
> > ./src/test/fit.cpp: In member function 'virtual void 
> > fitlib_test_id_00_monoexponential_Test::TestBody()':
> > ./src/test/fit.cpp:291:12: warning: unused variable 'chisqr' 
> > [-Wunused-variable]
> >      double chisqr = stfnum::lmFit(data, dt, funcLib[0], opts,
> >             ^~~~~~
> > 
> > ./src/test/fit.cpp: In member function 'virtual void 
> > fitlib_test_id_01_monoexponential_offsetfixed_Test::TestBody()':
> > ./src/test/fit.cpp:338:12: warning: unused variable 'chisqr' 
> > [-Wunused-variable]
> >      double chisqr = stfnum::lmFit(data, dt, funcLib[1], opts,
> >             ^~~~~~
> > 
> > ./src/test/fit.cpp: In member function 'virtual void 
> > fitlib_test_id_02_monoexponential_with_delay_Test::TestBody()':
> > ./src/test/fit.cpp:385:12: warning: unused variable 'chisqr' 
> > [-Wunused-variable]
> >      double chisqr = stfnum::lmFit(data, dt, funcLib[2], opts,
> >             ^~~~~~
> > 
> > ./src/test/fit.cpp: In member function 'virtual void 
> > fitlib_test_id_03_biexponential_Test::TestBody()':
> > ./src/test/fit.cpp:434:12: warning: unused variable 'chisqr' 
> > [-Wunused-variable]
> >      double chisqr = stfnum::lmFit(data, dt, funcLib[3], opts,
> >             ^~~~~~
> > 
> > ./src/test/fit.cpp: In member function 'virtual void 
> > fitlib_test_id_04_biexponential_offsetfixed_Test::TestBody()':
> > ./src/test/fit.cpp:487:12: warning: unused variable 'chisqr' 
> > [-Wunused-variable]
> >      double chisqr = stfnum::lmFit(data, dt, funcLib[4], opts,
> >             ^~~~~~
> > 
> > ./src/test/fit.cpp: In member function 'virtual void 
> > fitlib_test_id_05_biexponential_with_delay_offsetfixed_Test::TestBody()':
> > ./src/test/fit.cpp:536:12: warning: unused variable 'chisqr' 
> > [-Wunused-variable]
> >      double chisqr = stfnum::lmFit(data, dt, funcLib[5], opts,
> >             ^~~~~~
> > 
> > ./src/test/fit.cpp: In member function 'virtual void 
> > fitlib_test_id_06_triexponential_Test::TestBody()':
> > ./src/test/fit.cpp:593:12: warning: unused variable 'chisqr' 
> > [-Wunused-variable]
> >      double chisqr = stfnum::lmFit(data, dt, funcLib[6], opts,
> >             ^~~~~~
> > 
> > ./src/test/fit.cpp: In member function 'virtual void 
> > fitlib_test_id_07_triexponential_free_Test::TestBody()':
> > ./src/test/fit.cpp:653:12: warning: unused variable 'chisqr' 
> > [-Wunused-variable]
> >      double chisqr = stfnum::lmFit(data, dt, funcLib[7], opts,
> >             ^~~~~~
> > 
> > ./src/test/fit.cpp: In member function 'virtual void 
> > fitlib_test_id_08_triexponential_offsetfixed_Test::TestBody()':
> > ./src/test/fit.cpp:712:12: warning: unused variable 'chisqr' 
> > [-Wunused-variable]
> >      double chisqr = stfnum::lmFit(data, dt, funcLib[8], opts,
> >             ^~~~~~
> > 
> > ./src/test/fit.cpp: In member function 'virtual void 
> > fitlib_test_id_09_alpha_Test::TestBody()':
> > ./src/test/fit.cpp:765:12: warning: unused variable 'chisqr' 
> > [-Wunused-variable]
> >      double chisqr = stfnum::lmFit(data, dt, funcLib[9], opts,
> >             ^~~~~~
> > 
> > ./src/test/fit.cpp: In member function 'virtual void 
> > fitlib_test_id_10_HH_gNa_offsetfixed_Test::TestBody()':
> > ./src/test/fit.cpp:814:12: warning: unused variable 'chisqr' 
> > [-Wunused-variable]
> >      double chisqr = stfnum::lmFit(data, dt, funcLib[10], opts,
> >             ^~~~~~
> > 
> > ./src/test/fit.cpp: In member function 'virtual void 
> > fitlib_test_id_11_HH_gNa_biexpoffsetfixed_Test::TestBody()':
> > ./src/test/fit.cpp:863:12: warning: unused variable 'chisqr' 
> > [-Wunused-variable]
> >      double chisqr = stfnum::lmFit(data, dt, funcLib[11], opts,
> >             ^~~~~~
> > 
> > ./src/test/fit.cpp: In member function 'virtual void 
> > fitlib_test_id_12_fgaussian_Test::TestBody()':
> > ./src/test/fit.cpp:910:12: warning: unused variable 'chisqr' 
> > [-Wunused-variable]
> >      double chisqr = stfnum::lmFit(data, dt, funcLib[12], opts,
> >             ^~~~~~
> > 
> > ./src/test/measure.cpp: In function 'std::vector<double> norm(double, 
> > double)':
> > ./src/test/measure.cpp:155:5: error: 'variate_generator' is not a member of 
> > 'std'
> >      std::variate_generator<boost::mt19937&,
> >      ^~~
> > 
> > ./src/test/measure.cpp:155:28: error: 'mt19937' is not a member of 'boost'
> >      std::variate_generator<boost::mt19937&,
> >                             ^~~~~
> > 
> > ./src/test/measure.cpp:155:28: note: suggested alternative:
> > In file included from /usr/include/c++/6/random:49:0,
> >                  from /usr/include/c++/6/bits/stl_algo.h:66,
> >                  from /usr/include/c++/6/algorithm:62,
> >                  from /usr/include/boost/function/detail/prologue.hpp:13,
> >                  from /usr/include/boost/function.hpp:24,
> >                  from ./src/test/../stimfit/../libstfio/stfio.h:28,
> >                  from ./src/test/../stimfit/stf.h:71,
> >                  from ./src/test/measure.cpp:1:
> > /usr/include/c++/6/bits/random.h:1542:37: note:   'std::mt19937'
> >      0xefc60000UL, 18, 1812433253UL> mt19937;
> >                                      ^~~~~~~
> > 
> > ./src/test/measure.cpp:155:43: error: expected primary-expression before 
> > ',' token
> >      std::variate_generator<boost::mt19937&,
> >                                            ^
> > 
> > ./src/test/measure.cpp:156:36: error: expected primary-expression before 
> > '>' token
> >          std::normal_distribution<> > rand_val(rng, norm);
> >                                     ^
> > 
> > ./src/test/measure.cpp:156:56: error: 'rand_val' was not declared in this 
> > scope
> >          std::normal_distribution<> > rand_val(rng, norm);
> >                                                         ^
> > 
> > Makefile:1155: recipe for target 'stimfittest-measure.o' failed
> > make[3]: *** [stimfittest-measure.o] Error 1
> 
> -- 
> Martin Michlmayr
> Linux for HPE Helion, Hewlett Packard Enterprise

-- 
Christoph Schmidt-Hieber
Wolfson Institute for Biomedical Research
University College London
Gower Street
London WC1E 6BT
UK
Phone +44 (0)7551994016

Attachment: signature.asc
Description: PGP signature

Reply via email to