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.
|