|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
fixed-0.7.10.tar.gz with octave-3.2.2I cannot compile fixed-0.7.10.tar.gz package on octave-3.2.2
(Fedora 11 / x86_64 / gcc 4.4.1): octave:1> pkg install fixed-0.7.10.tar.gz int/fixed.cc: In function ‘std::ostream& operator<<(std::ostream&, const FixedPoint&)’: int/fixed.cc:1181: warning: suggest parentheses around ‘+’ inside ‘>>’ In file included from Array-f.cc:33: /usr/include/octave-3.2.2/octave/Array.cc: In static member function ‘static void Array<T>::instantiation_guard() [with T = FixedPoint]’: Array-f.cc:53: instantiated from here /usr/include/octave-3.2.2/octave/Array.cc:2698: error: ‘__xXxXx__’ is not a member of ‘FixedPoint’ /usr/include/octave-3.2.2/octave/Array.cc: In static member function ‘static void Array<T>::instantiation_guard() [with T = FixedPointComplex]’: Array-f.cc:55: instantiated from here /usr/include/octave-3.2.2/octave/Array.cc:2698: error: ‘__xXxXx__’ is not a member of ‘FixedPointComplex’ make: *** [Array-f.o] Error 1 Sincerely, Dmitri. -- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Octave-dev mailing list Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
|
|
Re: fixed-0.7.10.tar.gz with octave-3.2.2Dmitri A. Sergatskov wrote:
> I cannot compile fixed-0.7.10.tar.gz package on octave-3.2.2 > (Fedora 11 / x86_64 / gcc 4.4.1): > > octave:1> pkg install fixed-0.7.10.tar.gz > int/fixed.cc: In function ‘std::ostream& operator<<(std::ostream&, > const FixedPoint&)’: > int/fixed.cc:1181: warning: suggest parentheses around ‘+’ inside ‘>>’ > In file included from Array-f.cc:33: > /usr/include/octave-3.2.2/octave/Array.cc: In static member function > ‘static void Array<T>::instantiation_guard() [with T = FixedPoint]’: > Array-f.cc:53: instantiated from here > /usr/include/octave-3.2.2/octave/Array.cc:2698: error: ‘__xXxXx__’ is > not a member of ‘FixedPoint’ > /usr/include/octave-3.2.2/octave/Array.cc: In static member function > ‘static void Array<T>::instantiation_guard() [with T = > FixedPointComplex]’: > Array-f.cc:55: instantiated from here > /usr/include/octave-3.2.2/octave/Array.cc:2698: error: ‘__xXxXx__’ is > not a member of ‘FixedPointComplex’ > make: *** [Array-f.o] Error 1 > > Sincerely, > > Dmitri. > -- the tip of the 3.2.x tree under a debian x86 system, with cd main/fixed/src ./configure make I don't see any build issues. So I then tried with the 3.2.3-RC1 and fixed-0.7.10.tar.gz with pkg install fixed-0.7.10.tar.gz within Octave and also didn't see this problem. Not being able to reproduce this problem I don't see how I can fix it. Note that I had no other packages installed when installing the fixed package. D. -- David Bateman dbateman@... 35 rue Gambetta +33 1 46 04 02 18 (Home) 92100 Boulogne-Billancourt FRANCE +33 6 72 01 06 33 (Mob) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Octave-dev mailing list Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
|
|
Re: fixed-0.7.10.tar.gz with octave-3.2.2On Fri, Aug 28, 2009 at 10:52 AM, David Bateman<dbateman@...> wrote:
> Dmitri A. Sergatskov wrote: >> I cannot compile fixed-0.7.10.tar.gz package on octave-3.2.2 >> (Fedora 11 / x86_64 / gcc 4.4.1): >> >> octave:1> pkg install fixed-0.7.10.tar.gz >> int/fixed.cc: In function ‘std::ostream& operator<<(std::ostream&, >> const FixedPoint&)’: >> int/fixed.cc:1181: warning: suggest parentheses around ‘+’ inside ‘>>’ >> In file included from Array-f.cc:33: >> /usr/include/octave-3.2.2/octave/Array.cc: In static member function >> ‘static void Array<T>::instantiation_guard() [with T = FixedPoint]’: >> Array-f.cc:53: instantiated from here >> /usr/include/octave-3.2.2/octave/Array.cc:2698: error: ‘__xXxXx__’ is >> not a member of ‘FixedPoint’ >> /usr/include/octave-3.2.2/octave/Array.cc: In static member function >> ‘static void Array<T>::instantiation_guard() [with T = >> FixedPointComplex]’: >> Array-f.cc:55: instantiated from here >> /usr/include/octave-3.2.2/octave/Array.cc:2698: error: ‘__xXxXx__’ is >> not a member of ‘FixedPointComplex’ >> make: *** [Array-f.o] Error 1 >> >> Sincerely, >> >> Dmitri. >> -- > When I build the fixed package from within the octave-forge SVN and with > the tip of the 3.2.x tree under a debian x86 system, with > > cd main/fixed/src > ./configure > make > > I don't see any build issues. So I then tried with the 3.2.3-RC1 and > fixed-0.7.10.tar.gz with > > pkg install fixed-0.7.10.tar.gz > > within Octave and also didn't see this problem. Not being able to > reproduce this problem I don't see how I can fix it. Note that I had no > other packages installed when installing the fixed package. > That's really weird, because looking at the code, it should fail AFAIK. Array<T> should be always instantiated using the INSTANTIATE_ARRAY macro (which overrides Array<T>::instantiation_guard). This was done because implicit instantiations of Array<T> should basically never happen, so that we want to guard against them. Replacing the template statements by INSTANTIATE_ARRAY should fix the problem. I'll patch it later if you won't do it sooner. regards -- RNDr. Jaroslav Hajek computing expert & GNU Octave developer Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Octave-dev mailing list Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
|
|
Re: fixed-0.7.10.tar.gz with octave-3.2.2Jaroslav Hajek wrote:
> That's really weird, because looking at the code, it should fail > AFAIK. Array<T> should be always instantiated using the > INSTANTIATE_ARRAY macro (which overrides > Array<T>::instantiation_guard). This was done because implicit > instantiations of Array<T> should basically never happen, so that we > want to guard against them. > > Replacing the template statements by INSTANTIATE_ARRAY should fix the > problem. I'll patch it later if you won't do it sooner. > > regards > > 13 June.. The last release of octave-forge was 8 June and so the difference is the instantiation.. So this seems to already be patched.. The next release of octave-forge will fix this issue. D. -- David Bateman dbateman@... 35 rue Gambetta +33 1 46 04 02 18 (Home) 92100 Boulogne-Billancourt FRANCE +33 6 72 01 06 33 (Mob) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Octave-dev mailing list Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
| Free embeddable forum powered by Nabble | Forum Help |