Re: (Many) extra files in svn archive?

2021-01-30 Thread Dr . Jürgen Sauermann

  
  
Hi Bill,
  
  thanks. I suppose I mistakenly executed 'make' from the wrong
  directory.
  
  SVN 1423 should be clean again.
  
  Best Regards,
  Jürgen
  

On 1/30/21 3:39 AM, Bill Heagy wrote:

I just
  updated with svn, and many new files, for example .tc.log files in
  src/testcases/ got downloaded, some of them quite large.  Did
  something need cleaning up?
  
  


  




Re: (Many) extra files in svn archive? ... and a compile problem

2021-01-30 Thread Dr . Jürgen Sauermann

  
  
Hi Bill,
  
  it was an overlooked left-over from an unsuccessful
  proof-of-concept to use
  libxpathselect
  for ⎕XML. libxpathselect is a GNU/Linux
library, but it did not
  quite work for me since I could not find any useful documentation.
  
  Latest SVN has it removed.
  
  Best Regards,
  Jürgen
  
  

On 1/30/21 3:58 AM, Bill Heagy wrote:

On
  debian, can't find "xpathselect".  Is this a windows library?
  
  
  
  
  $ make
  
  ...
  
  libtool: link: g++ -Wall -I sql -pthread -I/usr/include/gtk-3.0
  -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
  -I/usr/include/dbus-1.0
  -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include
  -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0
  -I/usr/include/cairo -I/usr/include/pango-1.0
  -I/usr/include/fribidi -I/usr/include/harfbuzz
  -I/usr/include/atk-1.0 -I/usr/include/cairo
  -I/usr/include/pixman-1 -I/usr/include/uuid
  -I/usr/include/freetype2 -I/usr/include/libpng16
  -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount
  -I/usr/include/blkid -I/usr/include/glib-2.0
  -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include
  -I/usr/include/postgresql -g -O2 -o apl apl-main.o apl-Plot_gtk.o
  apl-Archive.o apl-Assert.o apl-Avec.o apl-Backtrace.o
  apl-Bif_F12_COMMA.o apl-Bif_F12_DOMINO.o apl-Bif_F12_INDEX_OF.o
  apl-Bif_F12_INTERVAL_INDEX.o apl-Bif_F12_FORMAT.o
  apl-Bif_F12_PARTITION_PICK.o apl-Bif_F12_SORT.o
  apl-Bif_F12_TAKE_DROP.o apl-Bif_OPER1_COMMUTE.o
  apl-Bif_OPER1_EACH.o apl-Bif_OPER2_POWER.o apl-Bif_OPER2_INNER.o
  apl-Bif_OPER2_OUTER.o apl-Bif_OPER2_RANK.o apl-Bif_OPER1_REDUCE.o
  apl-Bif_OPER1_SCAN.o apl-CDR.o apl-Cell.o apl-Doxy.o
  apl-CharCell.o apl-Command.o apl-Common.o apl-ComplexCell.o
  apl-configure_args.o apl-DiffOut.o apl-DynamicObject.o apl-Error.o
  apl-Executable.o apl-FloatCell.o apl-Function.o
  apl-DerivedFunction.o apl-Id.o apl-IndexExpr.o apl-IndexIterator.o
  apl-InputFile.o apl-IntCell.o apl-IO_Files.o apl-LApack.o
  apl-LibPaths.o apl-LineInput.o apl-Logging.o apl-LvalCell.o
  apl-Malloc_hooks.o apl-Nabla.o apl-Macro.o apl-NamedObject.o
  apl-NativeFunction.o apl-NumericCell.o apl-Output.o apl-Parallel.o
  apl-Parser.o apl-Performance.o apl-PointerCell.o apl-Prefix.o
  apl-Plot_line_properties.o apl-Plot_data.o
  apl-Plot_window_properties.o apl-PrimitiveFunction.o
  apl-PrimitiveOperator.o apl-PrintBuffer.o apl-QuadFunction.o
  apl-ProcessorID.o apl-Quad_CR.o apl-Quad_DLX.o apl-Quad_FFT.o
  apl-Quad_FIO.o apl-Quad_FX.o apl-Quad_GTK.o apl-Quad_MAP.o
  apl-Quad_PLOT.o apl-Quad_RE.o apl-Quad_RL.o apl-Quad_RVAL.o
  apl-Quad_SQL.o apl-Quad_SVx.o apl-Quad_TF.o apl-Quad_WA.o
  apl-Quad_XML.o apl-RealCell.o apl-sbrk.o apl-Shape.o
  apl-ScalarFunction.o apl-Security.o apl-StateIndicator.o
  apl-Svar_DB.o apl-Svar_record.o apl-Symbol.o apl-SymbolTable.o
  apl-SystemVariable.o apl-TabExpansion.o apl-Thread_context.o
  apl-Token.o apl-Tokenizer.o apl-UCS_string.o
  apl-UCS_string_vector.o apl-UserFunction.o
  apl-UserFunction_header.o apl-UserPreferences.o apl-UTF8_string.o
  apl-Value.o apl-ValueHistory.o apl-Workspace.o
  apl-static_Objects.o apl-Regexp.o sql/apl-SqliteArgListBuilder.o
  sql/apl-SqliteConnection.o sql/apl-SqliteResultValue.o
  sql/apl-SqliteProvider.o sql/apl-Connection.o
  sql/apl-PostgresArgListBuilder.o sql/apl-PostgresConnection.o
  sql/apl-PostgresProvider.o -Wl,--export-dynamic  -lpangocairo-1.0
  -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lgdk_pixbuf-2.0
  -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxpathselect -L/usr/lib
  -lsqlite3 -L/usr/lib/x86_64-linux-gnu -lpq -lpcre2-32 -lc -lcairo
  -ldl -lfftw3 -lgdk-3 -lgtk-3 -lm -lncurses -lcurses -lnsl
  -lpthread -ltinfo -lxcb -lX11 -lX11-xcb -pthread
  
  /usr/bin/ld: cannot find -lxpathselect
  
  collect2: error: ld returned 1 exit status
  
  make[3]: *** [Makefile:1524: apl] Error 1
  
  make[3]: Leaving directory '/home/wheagy/apl_svn/apl/trunk/src'
  
  make[2]: *** [Makefile:5289: all-recursive] Error 1
  
  make[2]: Leaving directory '/home/wheagy/apl_svn/apl/trunk/src'
  
  make[1]: *** [Makefile:536: all-recursive] Error 1
  
  make[1]: Leaving directory '/home/wheagy/apl_svn/apl/trunk'
  
  make: *** [Makefile:424: all] Error 2
  
  
  
  On 1/29/21 9:39 PM, Bill Heagy wrote:
  
  I just updated with svn, and many new
files, for example .tc.log files in src/testcases/ got
downloaded, some of them quite large.  Did something need
cleaning up?


  
  


  




Re: (Many) extra files in svn archive? ... and a compile problem

2021-01-30 Thread Bill Heagy
Looks fine now.  svn had a bit of a problem with the update.  It hung, 
checking ?r907?, after it appeared to do the update.  I aborted it, 
reran it (which didn't do anything), and now it compiles and runs ok.


Thanks again for all of your work.

Bill

On 1/30/21 7:34 AM, Dr. Jürgen Sauermann wrote:

Hi Bill,

it was an overlooked left-over from an unsuccessful proof-of-concept to use
libxpathselect for ⎕XML. libxpathselect is a GNU/Linux library, but it did not
quite work for me since I could not find any useful documentation.

Latest SVN has it removed.

Best Regards,
Jürgen


On 1/30/21 3:58 AM, Bill Heagy wrote:

On debian, can't find "xpathselect".  Is this a windows library?



$ make
...
libtool: link: g++ -Wall -I sql -pthread -I/usr/include/gtk-3.0 
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
-I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include -I/usr/include/postgresql -g -O2 -o apl apl-main.o 
apl-Plot_gtk.o apl-Archive.o apl-Assert.o apl-Avec.o apl-Backtrace.o 
apl-Bif_F12_COMMA.o apl-Bif_F12_DOMINO.o apl-Bif_F12_INDEX_OF.o 
apl-Bif_F12_INTERVAL_INDEX.o apl-Bif_F12_FORMAT.o apl-Bif_F12_PARTITION_PICK.o 
apl-Bif_F12_SORT.o apl-Bif_F12_TAKE_DROP.o apl-Bif_OPER1_COMMUTE.o 
apl-Bif_OPER1_EACH.o apl-Bif_OPER2_POWER.o apl-Bif_OPER2_INNER.o 
apl-Bif_OPER2_OUTER.o apl-Bif_OPER2_RANK.o apl-Bif_OPER1_REDUCE.o 
apl-Bif_OPER1_SCAN.o apl-CDR.o apl-Cell.o apl-Doxy.o apl-CharCell.o 
apl-Command.o apl-Common.o apl-ComplexCell.o apl-configure_args.o 
apl-DiffOut.o apl-DynamicObject.o apl-Error.o apl-Executable.o apl-FloatCell.o 
apl-Function.o apl-DerivedFunction.o apl-Id.o apl-IndexExpr.o 
apl-IndexIterator.o apl-InputFile.o apl-IntCell.o apl-IO_Files.o apl-LApack.o 
apl-LibPaths.o apl-LineInput.o apl-Logging.o apl-LvalCell.o apl-Malloc_hooks.o 
apl-Nabla.o apl-Macro.o apl-NamedObject.o apl-NativeFunction.o 
apl-NumericCell.o apl-Output.o apl-Parallel.o apl-Parser.o apl-Performance.o 
apl-PointerCell.o apl-Prefix.o apl-Plot_line_properties.o apl-Plot_data.o 
apl-Plot_window_properties.o apl-PrimitiveFunction.o apl-PrimitiveOperator.o 
apl-PrintBuffer.o apl-QuadFunction.o apl-ProcessorID.o apl-Quad_CR.o 
apl-Quad_DLX.o apl-Quad_FFT.o apl-Quad_FIO.o apl-Quad_FX.o apl-Quad_GTK.o 
apl-Quad_MAP.o apl-Quad_PLOT.o apl-Quad_RE.o apl-Quad_RL.o apl-Quad_RVAL.o 
apl-Quad_SQL.o apl-Quad_SVx.o apl-Quad_TF.o apl-Quad_WA.o apl-Quad_XML.o 
apl-RealCell.o apl-sbrk.o apl-Shape.o apl-ScalarFunction.o apl-Security.o 
apl-StateIndicator.o apl-Svar_DB.o apl-Svar_record.o apl-Symbol.o 
apl-SymbolTable.o apl-SystemVariable.o apl-TabExpansion.o apl-Thread_context.o 
apl-Token.o apl-Tokenizer.o apl-UCS_string.o apl-UCS_string_vector.o 
apl-UserFunction.o apl-UserFunction_header.o apl-UserPreferences.o 
apl-UTF8_string.o apl-Value.o apl-ValueHistory.o apl-Workspace.o 
apl-static_Objects.o apl-Regexp.o sql/apl-SqliteArgListBuilder.o 
sql/apl-SqliteConnection.o sql/apl-SqliteResultValue.o 
sql/apl-SqliteProvider.o sql/apl-Connection.o sql/apl-PostgresArgListBuilder.o 
sql/apl-PostgresConnection.o sql/apl-PostgresProvider.o -Wl,--export-dynamic  
-lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject 
-lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxpathselect -L/usr/lib 
-lsqlite3 -L/usr/lib/x86_64-linux-gnu -lpq -lpcre2-32 -lc -lcairo -ldl -lfftw3 
-lgdk-3 -lgtk-3 -lm -lncurses -lcurses -lnsl -lpthread -ltinfo -lxcb -lX11 
-lX11-xcb -pthread

/usr/bin/ld: cannot find -lxpathselect
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1524: apl] Error 1
make[3]: Leaving directory '/home/wheagy/apl_svn/apl/trunk/src'
make[2]: *** [Makefile:5289: all-recursive] Error 1
make[2]: Leaving directory '/home/wheagy/apl_svn/apl/trunk/src'
make[1]: *** [Makefile:536: all-recursive] Error 1
make[1]: Leaving directory '/home/wheagy/apl_svn/apl/trunk'
make: *** [Makefile:424: all] Error 2


On 1/29/21 9:39 PM, Bill Heagy wrote:
I just updated with svn, and many new files, for example .tc.log files in 
src/testcases/ got downloaded, some of them quite large.  Did something need 
cleaning up?










SVN 1423 warning on Mac OS

2021-01-30 Thread lchretien--- via Bugs and suggestions for GNU APL
From the latest SVN, 1423:

g++ -DHAVE_CONFIG_H -I. -I..-Wall -I sql  -g -O2 -MT apl-Value.o 
-MD -MP -MF .deps/apl-Value.Tpo -c -o apl-Value.o `test -f 'Value.cc' || echo 
'./'`Value.cc
Value.cc:923:23: warning: source of this 'memcpy' call is a pointer to dynamic 
class 'Cell'; vtable pointer will be
  copied [-Wdynamic-class-memaccess]
 memcpy(dest, member_data_cell, sizeof(Cell));
 ~~   ^
Value.cc:923:23: note: explicitly cast the pointer to silence this warning
 memcpy(dest, member_data_cell, sizeof(Cell));
  ^
  (void*)
1 warning generated.
mv -f .deps/apl-Value.Tpo .deps/apl-Value.Po


---
Louis Chrétien
lchret...@mac.com






Re: SVN 1423 warning on Mac OS

2021-01-30 Thread Dr . Jürgen Sauermann

  
  
Hi Louis,
  
  thanks, fixed in SVN 1425.

Best Regards,
Jürgen


On 1/30/21 6:32 PM, lchretien--- via
  Bugs and suggestions for GNU APL wrote:


  
  From the latest SVN, 1423:
  
  
  
g++
-DHAVE_CONFIG_H -I. -I..    -Wall -I sql          -g -O2 -MT
apl-Value.o -MD -MP -MF .deps/apl-Value.Tpo -c -o
apl-Value.o `test -f 'Value.cc' || echo './'`Value.cc
Value.cc:923:23:
warning: source of this 'memcpy' call is a pointer to
dynamic class 'Cell'; vtable pointer will be
 
    copied [-Wdynamic-class-memaccess]
  
      memcpy(dest, member_data_cell, sizeof(Cell));
  
      ~~       ^
  

That was the plan. Copy Cell member_data_cell to dest.
  All of it, of course. No reason to complain IMHO.


  
Value.cc:923:23:
note: explicitly cast the pointer to silence this warning
  
      memcpy(dest, member_data_cell, sizeof(Cell));
 
                    ^
 
                    (void*)
1
warning generated.
mv
-f .deps/apl-Value.Tpo .deps/apl-Value.Po

  

  
  
---
  Louis Chrétien
  lchret...@mac.com
  
  
  

  


  


  




Value Conversion Issue Group

2021-01-30 Thread Peter Teeson
On my Mac High Sierra 13.6

SVN1424 downloaded, configured, built. One issue as mentioned by Louis Chretian.

BUT 

If I make a standard  Xcode C++ project and simply add only files main.hh and 
main.cc , 
then compile I get 24 Value Conversion Issues all of the type 
Implicit conversion loses integer precision: 

So is this information deliberately not shown in Make? With some compiler 
-WnoXXX?

Tracked down some of them just for fun and edited the source code to eliminate 
them.
Fixing them all would probably be unproductive donkey work.

respect


Peter