bug-apl
[Top][All Lists]
Advanced

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

Re: SVN 1278 build failure


From: Brian Callahan
Subject: Re: SVN 1278 build failure
Date: Sun, 3 May 2020 13:10:03 -0400
User-agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

Hi Jürgen --

Now I get this.

~Brian

Quad_RVAL.cc:483:6: error: member initializer 'N' does not name a non-static data member or base class
     N(8)
     ^~~~
Quad_RVAL.cc:488:12: error: out-of-line definition of 'do_eval_B' does not match any declaration in 'Quad_RVAL'
Quad_RVAL::do_eval_B(const Value & B, int depth)
           ^~~~~~~~~
Quad_RVAL.cc:499:12: error: out-of-line definition of 'eval_AB' does not match any declaration in 'Quad_RVAL'
Quad_RVAL::eval_AB(Value_P A, Value_P B)
           ^~~~~~~
3 errors generated.

On 2020-05-03 12:50 PM, Dr. Jürgen Sauermann wrote:
Hi Brian,

thanks, Hopefully fixed in
SVN 1281.

Best Rgeards,
Jürgen


On 5/3/20 5:16 PM, Brian Callahan wrote:
Hello --

The follow build error occurred with SVN 1278. OpenBSD/amd64, clang++ as compiler.
struct random_data is a glibc extension and either needs to be defined in GNU APL for other platforms or not used.

~Brian

c++ -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -I/usr/X11R6/include -Wall -I sql -Werror -I/usr/local/include -I/usr/local/include/postgresql    -g -O2 -MT apl-Id.o -MD -MP -MF .deps/apl-Id.Tpo -c -o apl-Id.o `test -f 'Id.cc' || echo './'`Id.cc
In file included from Id.cc:47:
./Quad_RVAL.hh:110:23: error: field has incomplete type 'struct random_data'
   struct random_data buf[256];
                      ^
./Quad_RVAL.hh:110:11: note: forward declaration of 'random_data'
   struct random_data buf[256];
          ^
In file included from Id.cc:142:
./Id.def:200:1: error: cannot initialize return object of type 'Function *' with an lvalue of type 'Quad_RVAL *'
qf( RVAL          , "\xe2\x8e\x95RVAL"   ,          )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Id.cc:137:52: note: expanded from macro 'qf'
#define qf(i, _u, _v) case ID_Quad_ ## i:   return Quad_ ## i::fun;
^~~~~~~~~~~~~~~
<scratch space>:298:1: note: expanded from here
Quad_RVAL
^
2 errors generated.





reply via email to

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