[Bug-apl] Quad_SVx.cc some border line condition.

2018-05-25 Thread Hans-Peter Sorge
Hello Juergen, in Quad_SVx.cc around line 570:     char filename[APL_PATH_MAX + 1];     int slen = snprintf(filename, APL_PATH_MAX, "%s/%s", dirname, entry->d_name);     if (slen >= APL_PATH_MAX)   filename[APL_PATH_MAX] = 0; filename will be returned at most

Re: [Bug-apl] Issues building with GCC 8.1.1

2018-05-25 Thread Juergen Sauermann
Hi Fred, thanks, that explains it. Fixed in SVN 1052. Best regards, /// Jürgen Sauermann On 05/24/2018 09:18 PM, Fred Weigel wrote: Juergen Thanks! All worked, except (as you suspected) Svar_record. Here is the error me

Re: [Bug-apl] libapl load problem....UPDATE 3

2018-05-25 Thread Juergen Sauermann
Hi Peter, I am not familiar with the details of all file types, but it seems like your understanding is correct. I should have added some more details in my last email: Say you have an application APP (your main() program) and a library

Re: [Bug-apl] Quad_SVx.cc some border line condition.

2018-05-25 Thread Juergen Sauermann
Hi Hans-Peter, these changes were introduced recently and only to suppress newly introduced warnings in gcc 8.1. So, yes, line 3 does nothing, but in order to suppress the warnings one has to use the return value of snprintf somehow. The

Re: [Bug-apl] libapl load problem....UPDATE 3

2018-05-25 Thread Peter Teeson
Hi Jürgen: Thank you for the additional information. I am doing a deep dive into a few things on macOS. (1) How to statically link libapl.so (2) How to link libapl.so so that addresses are resolved at load time - (dlopen and friends) (3) How to link libapl.so at run time (passing environment var