Closed tscholak closed 11 months ago
I'm trying to debug this build issue with stack-nightly:
```2020-10-11T03:18:04.2519360Z inline-c-cpp > 2020-10-11T03:18:04.2531070Z inline-c-cpp > /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/stack-1fd931deefbf3f17/inline-c-cpp-0.4.0.2/In file included from /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/ghc29188_0/ghc_8.cpp:2:0: error: 2020-10-11T03:18:04.2548570Z inline-c-cpp > 2020-10-11T03:18:04.2550480Z inline-c-cpp > 2020-10-11T03:18:04.2551910Z inline-c-cpp > /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/stack-1fd931deefbf3f17/inline-c-cpp-0.4.0.2/include/HaskellException.hxx:25:23: error: 2020-10-11T03:18:04.2553520Z inline-c-cpp > error: exception specification of overriding function is more lax than base version 2020-10-11T03:18:04.2554570Z inline-c-cpp > virtual const char* what() const noexcept override; 2020-10-11T03:18:04.2555340Z inline-c-cpp > ^ 2020-10-11T03:18:04.2555940Z inline-c-cpp > | 2020-10-11T03:18:04.2556760Z inline-c-cpp > 25 | virtual const char* what() const noexcept override; 2020-10-11T03:18:04.2569170Z inline-c-cpp > | ^ 2020-10-11T03:18:04.3004390Z mwc-random > build 2020-10-11T03:18:04.3033990Z inline-c-cpp > 2020-10-11T03:18:04.3053260Z inline-c-cpp > /Applications/Xcode_11.7.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/exception:102:25: error: 2020-10-11T03:18:04.3054690Z inline-c-cpp > note: overridden virtual function is here 2020-10-11T03:18:04.3080160Z inline-c-cpp > virtual const char* what() const _NOEXCEPT; 2020-10-11T03:18:04.3081040Z inline-c-cpp > ^ 2020-10-11T03:18:04.3118990Z inline-c-cpp > | 2020-10-11T03:18:04.3120430Z inline-c-cpp > 102 | virtual const char* what() const _NOEXCEPT; 2020-10-11T03:18:04.3121830Z inline-c-cpp > | ^ 2020-10-11T03:18:04.3122890Z inline-c-cpp > 2020-10-11T03:18:04.3124700Z inline-c-cpp > /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/stack-1fd931deefbf3f17/inline-c-cpp-0.4.0.2/In file included from /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/ghc29188_0/ghc_8.cpp:2:0: error: 2020-10-11T03:18:04.3126290Z inline-c-cpp > 2020-10-11T03:18:04.3127280Z inline-c-cpp > 2020-10-11T03:18:04.3129050Z inline-c-cpp > /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/stack-1fd931deefbf3f17/inline-c-cpp-0.4.0.2/include/HaskellException.hxx:25:35: error: 2020-10-11T03:18:04.3130790Z inline-c-cpp > error: expected ';' at end of declaration list 2020-10-11T03:18:04.3132080Z inline-c-cpp > virtual const char* what() const noexcept override; 2020-10-11T03:18:04.3133230Z inline-c-cpp > ^ 2020-10-11T03:18:04.3134270Z inline-c-cpp > ; 2020-10-11T03:18:04.3135270Z inline-c-cpp > | 2020-10-11T03:18:04.3136430Z inline-c-cpp > 25 | virtual const char* what() const noexcept override; 2020-10-11T03:18:04.3137590Z inline-c-cpp > | ^ 2020-10-11T03:18:04.3138870Z inline-c-cpp > 2020-10-11T03:18:04.3140510Z inline-c-cpp > /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/stack-1fd931deefbf3f17/inline-c-cpp-0.4.0.2/include/HaskellException.hxx:18:7: error: 2020-10-11T03:18:04.3142320Z inline-c-cpp > error: exception specification of overriding function is more lax than base version 2020-10-11T03:18:04.3143550Z inline-c-cpp > | 2020-10-11T03:18:04.3146470Z inline-c-cpp > 18 | class HaskellException : public std::exception { 2020-10-11T03:18:04.3248430Z inline-c-cpp > | ^ 2020-10-11T03:18:04.3254670Z inline-c-cpp > class HaskellException : public std::exception { 2020-10-11T03:18:04.3256730Z inline-c-cpp > ^ 2020-10-11T03:18:04.3257740Z inline-c-cpp > 2020-10-11T03:18:04.3259270Z inline-c-cpp > /Applications/Xcode_11.7.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/exception:101:13: error: 2020-10-11T03:18:04.3260800Z inline-c-cpp > note: overridden virtual function is here 2020-10-11T03:18:04.3261970Z inline-c-cpp > virtual ~exception() _NOEXCEPT; 2020-10-11T03:18:04.3263020Z inline-c-cpp > ^ 2020-10-11T03:18:04.3263930Z inline-c-cpp > | 2020-10-11T03:18:04.3264980Z inline-c-cpp > 101 | virtual ~exception() _NOEXCEPT; 2020-10-11T03:18:04.3266020Z inline-c-cpp > | ^ 2020-10-11T03:18:04.3267630Z inline-c-cpp > 3 errors generated. 2020-10-11T03:18:04.3268620Z inline-c-cpp > `clang++' failed in phase `C Compiler'. (Exit code: 1)```
https://github.com/fpco/inline-c/pull/149 The nightly on macos is tested on github actions. Thx!
I'm trying to debug this build issue with stack-nightly: