Compiling with gcc 2.6.0

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Compiling with gcc 2.6.0

Przemek Klosowski-3

Hi,

As the title advertises, I tried to compile Octave 1.0 with my spanking new
gcc 2.6.0 on Irix 5.2; however, I got these compilation errors:

f-hess.cc:132: call of overloaded constructor `tree_constant' is ambiguous
tree-const.h:561: candidates are: tree_constant::tree_constant(const Complex &)
tree-const.h:556:                 tree_constant::tree_constant(const ColumnVector &)
tree-const.h:552:                 tree_constant::tree_constant(const RowVector &)
                    ...... more candidates ....

f-hess.cc:132: in conversion to type `tree_constant'
f-hess.cc:148: call of overloaded constructor `tree_constant' is ambiguous
tree-const.h:561: candidates are: tree_constant::tree_constant(const Complex &)
tree-const.h:556:                 tree_constant::tree_constant(const ColumnVector &)
                    ...... more candidates ....

I managed to compile Octave with gcc 2.5.8. Is the above indicative of a bug
in gcc or of more strict checking in a new version of the compiler?


                        przemek klosowski ([hidden email])
                        Reactor Division (bldg. 235), E111
                        National Institute of Standards and Technology
                        Gaithersburg, MD 20899,      USA

                        (301) 975 6249 tel
                        (301) 921 9847 fax