bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Another OSX compile error


From: Elias Mårtenson
Subject: [Bug-apl] Another OSX compile error
Date: Mon, 20 Oct 2014 22:48:05 +0800

After working around the previous error, I'm getting the following:

g++ -DHAVE_CONFIG_H -I. -I..     -rdynamic   -g -O2 -MT LvalCell.o -MD -MP -MF $depbase.Tpo -c -o LvalCell.o LvalCell.cc &&\
mv -f $depbase.Tpo $depbase.Po
clang: warning: argument unused during compilation: '-rdynamic'
In file included from LApack.cc:32:
./LApack.hh:97:52: error: _expression_ is not assignable
   static void set_real(ZZ & y, DD x)   { y.real() = x; }
                                          ~~~~~~~~ ^
./LApack.hh:98:52: error: _expression_ is not assignable
   static void set_imag(ZZ & y, DD x)   { y.imag() = x; }
                                          ~~~~~~~~ ^
./LApack.hh:101:47: error: _expression_ is not assignable
   static void conjugate(ZZ & z)   { z.imag() = - z.imag(); }
                                     ~~~~~~~~ ^
LApack.cc:50:19: error: variable length array of non-POD element type 'ZZ'
      (aka 'complex<double>')
              ZZ a[rows];
                  ^
LApack.cc:56:19: error: variable length array of non-POD element type 'ZZ'
      (aka 'complex<double>')
              ZZ b[B->element_count()];
                  ^
In file included from LApack.cc:32:
./LApack.hh:1049:1: error: variable length array of non-POD element type
      'std::__1::complex<double>'
DynArray(T, tau, N);
^
./APL_types.hh:459:46: note: expanded from macro 'DynArray'
# define DynArray(Type, Name, Size) Type Name[Size];
                                             ^
./LApack.hh:1132:23: note: in instantiation of function template specialization
      'scaled_gelsy<std::__1::complex<double> >' requested here
     const int RANK = scaled_gelsy(A, B, rcond);
                      ^
LApack.cc:70:38: note: in instantiation of function template specialization
      'gelsy<std::__1::complex<double> >' requested here
                const ShapeItem rk = gelsy<ZZ>(B, A, rcond);
                                     ^
6 errors generated.

Regards,
Elias

reply via email to

[Prev in Thread] Current Thread [Next in Thread]