I think I know now.
You have updated GNU APL but you haven't recompiled the SQL library.
It happened to me previously actually.
Regards,
Elias
On 19 April 2014 10:45, Blake McBride wrote:
> $ sqlite3 sqlite.db
> SQLite version 3.7.17 2013-05-20 00:56:22
> Enter ".help" for instructions
> Ent
$ sqlite3 sqlite.db
SQLite version 3.7.17 2013-05-20 00:56:22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> select * from mytable;
238|Blake
892|Sam
111|George
--
db←'sqlite' SQL∆Connect 'sqlite.db'
../apl-svn/src/Token.cc:545:11: 5 enumeration values not handled in switch:
'TC_L_CURLY', 'TC_R_CURLY', 'TC_MAX_PHRASE_2'…
../apl-svn/src/Token.cc:601:11: 5 enumeration values not handled in switch:
'TC_L_CURLY', 'TC_R_CURLY', 'TC_MAX_PHRASE_2'…
Should there be a default label in the switch?
You
Hi Jürgen:
I've been thinking again about this warning and I'm inclined to agree with it.
..MyProjects/GNUAPL/apl-svn/src/UserFunction.cc:1191:10: Comparison of constant
10 with expression of type 'Function_Line' is always true
if (l < 10) ucs.append(UNI_ASCII_SPACE);
These suggestions e
Hi Peter,
I wouldn't really bother looking back - I have done a lot of them - ibm
370/tcc/stsc apl*plus/york apl/aplum/sax/aplx/apl2 (no dyalog!!) and this
gnu-apl is going to be cutting edge! Just post any code you have problems with
and people will look at - lots to learn but don't look back
This is a bug in my brain but related to GNU APL.
Last time I used APL was when I worked at IPSA.
The language has been extended since then.
I have the ISO Standard and even the IBM APL2 Language Summary & Programming
Guide.
What can I read for a summary of the differences between the APL I know/
Hi Elias,
I see. Actually the callback was introduced already earlier on your behalf.
I have changed the code slightly so that the native functions gets
really erased.
Lets see if that works, SVN 214.
/// Jürgen
On 04/18/2014 05:44 PM, Elias Mårtenson wrote:
The problem is that the __attribu
Ah. Thank you.
On Fri, 2014-04-18 at 05:36 -0500, Blake McBride wrote:
> Inside apl-sqlite/Makefile you must set APL_DIST to point to where
> gnu-apl is. If you set that to the root directory og the gnu-apl
> souce code it'll build just fine. The missing file you see is part of
> gnu-apl.
>
>
The problem is that the __attribute__ feature is GCC-specific. And the
other standard ways of handling callbacks when loading/unloading libraries
(__init and __fini) are also non-standard (they work on Linux and Solaris
to my knowledge but likely not on many others).
I can't really think of a bett
Hi Elias,
the dlclose() man page recommends this:
Instead, libraries should export routines using the
__attribute__((con‐
structor)) and __attribute__((destructor)) function
attributes. See
the gcc info pages for information on these. Constructor
routines are
Hi Elias,
I believe that currently )ERASE or ⎕EX cause the native function to be
removed
from the APL symbol table but the .so file is not dlclosed() and the
native function
object is not removed.
The .so file and the native function object are typically very small by
today's
disk size and
Hi,
I have added functions popen() and pclose() to the native FILE_IO
function, see SVN 212.
That makes it possible, for example, to call programs from GNU APL and
return their output
directly to GNU APL rather than needing to store the output of the
command in an intermediate
file and rea
Hi Peter,
thanks, fixed in SVN 212.
/// Jürgen
On 04/18/2014 02:40 AM, Peter Teeson wrote:
Updated to revision 211.
../GNUAPL/apl-svn/src/UserPreferences.cc:378:1: Control may reach end of
non-void function
Peter
Inside apl-sqlite/Makefile you must set APL_DIST to point to where gnu-apl
is. If you set that to the root directory og the gnu-apl souce code it'll
build just fine. The missing file you see is part of gnu-apl.
Blake
On Thu, Apr 17, 2014 at 1:25 PM, David B. Lamkins wrote:
> $ git clone https
14 matches
Mail list logo