3.1.52 fails to build in hppa/linux

Rafael Laboissiere rafael at debian.org
Sun Feb 22 13:26:43 CST 2009


* Jaroslav Hajek <highegg at gmail.com> [2009-02-22 19:40]:

> can you try compiling (no need to link) the following test code? It
> should be a simple instance of the same issue.
> 
> class A {};
> 
> template <class X, class T> void method (double u, T v);
> 
> template <class X> void method (double u, long v);
> 
> int main ()
> {
>   double u; long v;
>   method<A> (u, v);
> }
> 
> If you get a failure, then you have a buggy gcc.

I tried your code on the "problematic" architectures mipsel, sparc, and
hppa.  In all of them I used g++ 4.3.3 on a Debian sid system.  Compilation
succeeded everywhere.

I think we need a more complex test case, closer to what is done in
oct-inttype.cc.
 
-- 
Rafael


More information about the Octave-maintainers mailing list