daniel64 / lspf

Open source Linux version of the IBM mainframe z/OS ISPF Dialogue Manager
GNU General Public License v2.0
85 stars 15 forks source link

Compilation on OSX #5

Closed mgrossmann closed 5 years ago

mgrossmann commented 5 years ago

I'm trying to compile lspf using comp1.

➜  src git:(master) ✗ ./comp1 
warning: unknown warning option '-Wno-int-in-bool-context'; did you mean
      '-Wno-gnu-include-next'? [-Wunknown-warning-option]
In file included from lspf.cpp:63:
./pApplication.cpp:4348:41: error: no member named '__cxa_exception_type' in
      'std::exception_ptr'
        llog( "E", "Exception: " << (ptr ? ptr.__cxa_exception_type()->n...
                                           ~~~ ^
./pApplication.h:444:50: note: expanded from macro 'llog'
" " << d2ds( taskid(), 5 ) << " " << t << " " << s ; \
                                                 ^
1 warning and 1 error generated.

Is it possible to solve this problem?

daniel64 commented 5 years ago

I don't think I can help much for OSX as I have no experience with it - I only use Linux. Certainly -Wno-int-in-bool-context is valid for Linux gcc version 8.2.1 Is your version of gcc older than this? If your platform does not provide std::exception_ptr, you can just remove the llog statement as it is just providing debugging information.

mgrossmann commented 5 years ago

Thank you for the answer. I will try your suggestions.

rvjansen commented 5 years ago

Hi. Do note that there is a Docker image available to run lspf on your Mac. lspf is bloody great!