Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126157 - octave 2.1.72 fails with gcc 4.1
Summary: octave 2.1.72 fails with gcc 4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-03-14 07:00 UTC by Patrizio Bassi
Modified: 2006-09-28 05:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2006-03-14 07:00:51 UTC
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse CMatrix.cc -o pic/CMatrix.o
CMatrix.cc: In function ‘ComplexMatrix operator*(const ColumnVector&, const ComplexRowVector&)’:
CMatrix.cc:2263: error: conversion from ‘Complex’ to non-scalar type ‘ComplexMatrix’ requested
CMatrix.cc: In function ‘ComplexMatrix operator*(const ComplexColumnVector&, const RowVector&)’:
CMatrix.cc:2270: error: conversion from ‘Complex’ to non-scalar type ‘ComplexMatrix’ requested
make[2]: *** [pic/CMatrix.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/octave-2.1.72/work/octave-2.1.72/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory `/var/tmp/portage/octave-2.1.72/work/octave-2.1.72'
make: *** [all] Error 2


a fix should be here:

http://www.octave.org/mailing-lists/bug-octave/2006/243

please check
Comment 1 Patrizio Bassi 2006-03-14 07:12:19 UTC
here the cleaner patch.

http://www.octave.org/octave-lists/archive/bug-octave.2006/msg00234.html
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2006-03-14 13:28:33 UTC
Hi Patrizio,

Thanks for the patch! I tested it and it seems to work fine.
It is in portage CVS now.

Thanks,
Markus
Comment 3 Gunnlaugur Thor Briem 2006-09-27 16:06:24 UTC
Typo in summary; should be 2.1.72
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2006-09-28 05:51:49 UTC
(In reply to comment #3)
> Typo in summary; should be 2.1.72
> 

Yeah, that's right, thanks for pointing it out :)

Markus
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2006-09-28 05:54:14 UTC
Sorry, messed it up again! I better get some coffee!