[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Octave on windows testing
From: |
JohnD |
Subject: |
RE: Octave on windows testing |
Date: |
Thu, 10 Mar 2016 12:44:30 -0500 |
> -----Original Message-----
> From: JohnD [mailto:address@hidden
> Sent: Thursday, March 10, 2016 12:38 PM
> To: address@hidden
> Subject: RE: Octave on windows testing
>
> >
> > Message: 1
> > Date: Thu, 10 Mar 2016 11:54:21 -0500
> > From: "John W. Eaton" <address@hidden>
> > To: Doug Stewart <address@hidden>
> > Cc: address@hidden, PhilipNienhuis <address@hidden>,
> > octave-maintainers <address@hidden>, Mike Miller
> > <address@hidden>
> > Subject: Re: Octave on windows testing
> > Message-ID: <address@hidden>
> > Content-Type: text/plain; charset=utf-8; format=flowed
> >
> > On 03/10/2016 11:47 AM, Doug Stewart wrote:
> >
> > > >> pkg install -forge struct
> > > In file included from
> > > C:\Octave\Octave-4.1.0+\include\octave-4.1.0+\octave\../oct
> > > ave/Array.h:38:0,
> > > from
> > > C:\Octave\Octave-4.1.0+\include\octave-4.1.0+\octave\../oct
> > > ave/boolMatrix.h:29,
> > > from
> > > C:\Octave\Octave-4.1.0+\include\octave-4.1.0+\octave\../oct
> > > ave/mx-base.h:34,
> > > from
> > > C:\Octave\Octave-4.1.0+\include\octave-4.1.0+\octave\../oct
> > > ave/Matrix.h:32,
> > > from
> > > C:\Octave\Octave-4.1.0+\include\octave-4.1.0+\octave\../oct
> > > ave/oct.h:30,
> > > from error-helpers.cc:20:
> > > C:\Octave\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/idx-v
> > > ec
> > > tor.h:68:55
> > > : error: 'unique_ptr' in namespace 'std' does not name a type
> > > template <typename T, typename D> friend class std::unique_ptr;
> > > ^
> > > make: *** [error-helpers.o] Error 1
> > > make: Entering directory `/tmp/oct-Rg2MEu/struct-1.0.12/src'
> > > CXX=g++ CXXFLAGS="-g -O2"
> > > C:/Octave/Octave-4.1.0+/bin/mkoctfile-4.1.0+.exe -c err
> > > or-helpers.cc
> > > make: Leaving directory `/tmp/oct-Rg2MEu/struct-1.0.12/src'
> >
> > Why is the struct package overriding the values of CXX and CXXFLAGS?
> > I
> think it
> > should just use the default values set in mkoctfile. If a user wants
> > to
> override
> > them, they still can as mkoctfile looks for values of CXX and CXXFLAGS
> > in
> the
> > environment. But if they are not set in the environment, then I don't
> think the
> > struct package makefile should set them.
> >
> > jwe
> >
>
> Currently when cross compiling struct, it is setting CXX to
> i686-w64-mingw32-g++ -std=gnu++11
>
> Then the CXX=$(CXX) in the Makefile - no quotes - is setting CXX to
> i686-w64-mingw32-g++ with a stray -std=gnu++11 on the command line
>
> If I remove both the CXX, CXXFLAGS from preceeding the mkoctfile, it
compiles
> ok for me
Optim fails for me for the same reason
- Re: Octave on windows testing, (continued)
- Re: Octave on windows testing, John W. Eaton, 2016/03/10
- Re: Octave on windows testing, Olaf Till, 2016/03/11
- Re: Octave on windows testing, Mike Miller, 2016/03/11
- Re: Octave on windows testing, Olaf Till, 2016/03/11
- Re: Octave on windows testing, Olaf Till, 2016/03/11
- Re: Octave on windows testing, John W. Eaton, 2016/03/11
- Re: Octave on windows testing, John W. Eaton, 2016/03/11
- Re: Octave on windows testing, Olaf Till, 2016/03/12
- Re: Octave on windows testing, PhilipNienhuis, 2016/03/10
RE: Octave on windows testing, JohnD, 2016/03/10
- RE: Octave on windows testing,
JohnD <=