|
From: | JohnD |
Subject: | RE: MXE compile and popen2 |
Date: | Fri, 20 May 2016 16:03:34 -0400 |
From: Rik [mailto:address@hidden On 05/20/2016 07:01 AM, address@hidden wrote: > mingw cross complile fails for popen > From: > "JohnD" <address@hidden> > Date: > 05/20/2016 07:01 AM > To: > "'Octave Maintainers List'" <address@hidden> > List-Post: > Precedence: > list > MIME-Version: > 1.0 > Message-ID: > Content-Type: > multipart/alternative; boundary="----=_NextPart_000_0161_01D1B27E.949AA040" > Message: > 6 > > Not sure it its just me, but when cross compiling dev > > > > hg heads > > changeset: 21751:b571fc85953f > > bookmark: @ > > tag: tip > > user: Rik <address@hidden> > > date: Thu May 19 18:48:52 2016 -0700 > > summary: maint: Use two spaces after period to indicate sentence break. > > > > > > In file included from /home/johnd/mxe-octave/w32/tmp-default-octave/octave-4.1.0+/libinterp/corefcn/sysdep.h:33:0, > > from /home/johnd/mxe-octave/w32/tmp-default-octave/octave-4.1.0+/libinterp/corefcn/oct-procbuf.cc:38: > > /home/johnd/mxe-octave/w32/tmp-default-octave/octave-4.1.0+/liboctave/system/lo-sysdep.h:59:41: error: unable to deduce 'const auto' from 'octave::sys::popen2' > > const auto octave_popen2 = octave::sys::popen2; > > ^ > > /home/johnd/mxe-octave/w32/tmp-default-octave/octave-4.1.0+/liboctave/system/lo-sysdep.h:59:12: warning: 'octave_popen2' defined but not used [-Wunused-variable] > > > > /home/johnd/mxe-octave/w32/tmp-default-octave/octave-4.1.0+/libinterp/corefcn/oct-procbuf.cc:52:24: warning: 'octave_procbuf_list' defined but not used [-Wunused-variable] > > static octave_procbuf *octave_procbuf_list = 0; > > ^ > > Makefile:17184: recipe for target 'libinterp/corefcn/libinterp_corefcn_libcorefcn_la-oct-procbuf.lo' failed > > make[4]: *** [libinterp/corefcn/libinterp_corefcn_libcorefcn_la-oct-procbuf.lo] Error 1 Using const auto octave_popen2 = &octave::sys::popen2; (note the ampersand) appears to be compiling ok. Not tested yet for it runs though. |
[Prev in Thread] | Current Thread | [Next in Thread] |