Re: [Oorexx-devel] DARWIN build issue

2019-02-19 Thread Enrico Sorichetti via Oorexx-devel
Hello Rick Here is the modified function /** * test if an individual file is a case sensitive name * * @return For Unix systems, always returns true. For MacOS, * this needs to be determined on a case-by-case basis. */ bool SysFileSystem::isCaseSensitive(const char *name) { #ifndef

Re: [Oorexx-devel] DARWIN build issue

2019-02-19 Thread Enrico Sorichetti via Oorexx-devel
Good Idea… I will run a few tests and let You know But … the backtracking to an existing directory might be murky E > On 19 Feb 2019, at 13:23, Rick McGuire wrote: > > I did what you suggested, but wouldn't performing the check on the directory > the file is in give a more accurate result?

Re: [Oorexx-devel] DARWIN build issue

2019-02-19 Thread Rick McGuire
On Mon, Feb 18, 2019 at 4:10 PM Enrico Sorichetti via Oorexx-devel < oorexx-devel@lists.sourceforge.net> wrote: > Here is the tested and WORKING code sequence > IIRC I had to fix the testSuite in a couple of places > > I did run the test suite twice , > once on the boot volume ( case insensitive

Re: [Oorexx-devel] DARWIN build issue

2019-02-18 Thread Rick McGuire
Yeah, I have no idea what the compiler is objecting to. There's nothing wrong with that bit of code. Rick On Mon, Feb 18, 2019 at 5:18 PM Enrico Sorichetti via Oorexx-devel < oorexx-devel@lists.sourceforge.net> wrote: > Unfortunately it seems there are some issues with the centos 7 gcc >

Re: [Oorexx-devel] DARWIN build issue

2019-02-18 Thread Enrico Sorichetti via Oorexx-devel
Unfortunately it seems there are some issues with the centos 7 gcc compilers they are a bit outdated g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) And the build chokes with In file included from /home/vagrant/ooRexx.svn.src/interpreter/platform/unix/SysRexxUtil.cpp:181:0:

Re: [Oorexx-devel] DARWIN build issue

2019-02-18 Thread Rick McGuire
There are spurious leading "_" characters on the #ifdef test. I'll fix this with the other issues you raised shortly. Rick On Mon, Feb 18, 2019 at 3:53 PM Erich Steinböck wrote: > Our Mac build slave finds _PC_CASE_SENSITIVE > > ~~~ > -- Looking for _PC_CASE_SENSITIVE > -- Looking for

Re: [Oorexx-devel] DARWIN build issue

2019-02-18 Thread Enrico Sorichetti via Oorexx-devel
Here is the tested and WORKING code sequence IIRC I had to fix the testSuite in a couple of places I did run the test suite twice , once on the boot volume ( case insensitive by default ) The second time on an external disk with a case sensitive file system Pathconf needs the file or

[Oorexx-devel] DARWIN build issue

2019-02-18 Thread Erich Steinböck
Our Mac build slave finds _PC_CASE_SENSITIVE ~~~ -- Looking for _PC_CASE_SENSITIVE -- Looking for _PC_CASE_SENSITIVE - found ~~~ but still correctly builds SysFileSystem which seems impossible due to a typo `if (res \= -1)` that should prevent compilation. (The bug repeats a few lines further