[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SVN 1278 build failure
From: |
Brian Callahan |
Subject: |
SVN 1278 build failure |
Date: |
Sun, 3 May 2020 11:16:40 -0400 |
User-agent: |
Mozilla/5.0 (X11; OpenBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
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.
- SVN 1278 build failure,
Brian Callahan <=